Skip to content

Add real_world_MatanDanOn#225

Open
MatanDanOn wants to merge 2 commits into
evidencebp:mainfrom
MatanDanOn:main
Open

Add real_world_MatanDanOn#225
MatanDanOn wants to merge 2 commits into
evidencebp:mainfrom
MatanDanOn:main

Conversation

@MatanDanOn

Copy link
Copy Markdown
Contributor

No description provided.

@evidencebp evidencebp left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please check the file content.
Github identifies it as a binary file, not a csv.

@MatanDanOn

Copy link
Copy Markdown
Contributor Author

The issue may have been macOS insisting on exporting the file in a numbers format rather than a csv, hopefully it'll go smoothly now

    unit_type varchar(255),
    record_date date NOT NULL,
    amount bigint NOT NULL,
    tracking_id varchar(128) NOT NULL,",Data Integrity,"The 'unit_type' and 'subscription_id' columns are logically required for the application to function correctly, but the table schema allows them to accept NULL values.",Add 'NOT NULL' constraints to both 'unit_type' and 'subscription_id' columns in the table definition.,"CREATE TABLE rolled_up_usage (

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This question requires context.
It will be unfair to give it in a test.
Repllace with a contextless question.

id SERIAL PRIMARY KEY,
editor_id INT NOT NULL,
bbid UUID NOT NULL
);",Data Integrity,"Editor_id and bbid aren’t constrained to be unique, which may cause data integrity issues as they are ID columns.",Add a unique constraint for both columns.,"CREATE TABLE bookbrainz._editor_entity_visits (

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

context, replace

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants