-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Auto populate -pks when not provided by user #1324
Merged
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
00e2ca3
feat: Auto populate -pks from Oracle constraint
nj1973 6b188c4
feat: Auto populate -pks from Teradata constraint
nj1973 eb99fc9
feat: Auto populate -pks from PostgreSQL constraint
nj1973 a03d6c9
feat: Auto populate -pks from PostgreSQL constraint
nj1973 0e610b0
feat: Auto populate -pks from SQL Server, DB2 constraint
nj1973 b9d7a13
feat: Auto populate -pks no-op for BigQuery
nj1973 519078b
feat: Auto populate -pks no-op for Snowflake and MySQL
nj1973 8413def
Merge branch 'develop' into 1253-row-validation-primary-keys-auto
nj1973 ce886d8
tests: Fix DB2 test
nj1973 c0f3dc1
Merge branch 'develop' into 1253-row-validation-primary-keys-auto
nj1973 864cc28
Merge branch 'develop' into 1253-row-validation-primary-keys-auto
helensilva14 5df5246
Update third_party/ibis/ibis_biquery/api.py
nj1973 f445ef1
Update third_party/ibis/ibis_cloud_spanner/__init__.py
nj1973 92300b9
Update third_party/ibis/ibis_redshift/__init__.py
nj1973 ecfca15
Update data_validation/cli_tools.py
nj1973 2cd80a7
Update data_validation/config_manager.py
nj1973 f92301d
chore: Refactor PostgreSQL catalog query
nj1973 04dbc2e
chore: PR comment
nj1973 dd543d3
chore: PR comment
nj1973 45d232e
chore: PR comment changes
nj1973 5f4b4e4
docs: Doc updates for --primay-keys changes
nj1973 0be73b1
Merge branch 'develop' into 1253-row-validation-primary-keys-auto
nj1973 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried a custom query without any primary keys and got the following error
ValueError: No primary keys were provided and neither the source or target tables have primary keys. Please include --primary-keys argument
. Is this sufficient or should we sayCustom query validations must provide primary keys. No primary keys were provided and neither the source or target tables have primary keys. Please include --primary-keys argument
I am OK either way.
Sundar Mudupalli
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left it as it is, it's not totally accurate but makes it clear you need to provide the primary keys. Thanks for the good review, both you and Helen provided valuable direction for me.