-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[BUGFIX] Fix Snowflake column identifier issue when running checkpoint #8630
Closed
Closed
Changes from all commits
Commits
Show all changes
98 commits
Select commit
Hold shift + click to select a range
b3b4795
update tests from branch
Kilo59 ed2a7df
test sqlite
Kilo59 5d72e3f
use `tmp_path` so that db file is cleaned up
Kilo59 04bf890
databricks xfail
Kilo59 6639f2d
postgres TDD test
Kilo59 5f090e5
insert data
Kilo59 6438f7d
parametrize against different column conventions
Kilo59 f9e058a
snowflake tests
Kilo59 f57180d
silence warning
Kilo59 b8a65f8
don't skip snowflake tests
Kilo59 31ebce1
temp skip other markers
Kilo59 e3ff122
missing fixture decorator
Kilo59 7a989f3
more test cases
Kilo59 9ebbbc5
more cases
Kilo59 5cfeab3
`add_sql_datasource` parametrized fixture
Kilo59 2192466
more params
Kilo59 134dd8f
rename tests
Kilo59 47128d0
Merge branch 'develop' into b/lakitu-312/sf-col-idtn
Kilo59 a954842
`Record` -> `Row`
Kilo59 dffa883
fix bad merge
Kilo59 5eea355
fail-fast: false
Kilo59 10f1f58
don't skip databricks
Kilo59 60d1b78
wrong job
Kilo59 416d323
show column names on failure
Kilo59 7ec2c26
upper
Kilo59 16d15b5
even more params
Kilo59 bcf9a29
readjust parameters
Kilo59 1dd6dc6
test multiple expectations
Kilo59 bd25d11
wait for unit-tests and static-analysis
Kilo59 c9bae35
add xfails
Kilo59 af113c7
`TextClause`
Kilo59 3ced6ea
Merge branch 'develop' into b/lakitu-312/sf-col-idtn
Kilo59 67ebe28
Merge branch 'develop' into b/lakitu-312/sf-col-idtn
Kilo59 90035b2
skip trino
Kilo59 9cde7e4
Merge branch 'develop' into b/lakitu-312/sf-col-idtn
Kilo59 86a34e2
Merge branch 'develop' into b/lakitu-312/sf-col-idtn
Kilo59 f9e9df6
Merge remote-tracking branch 'origin/b/lakitu-312/sf-col-idtn' into b…
Kilo59 36ff7aa
Merge branch 'develop' into b/lakitu-312/sf-col-idtn
Kilo59 a3d2759
Merge branch 'develop' into b/lakitu-312/sf-col-idtn
Kilo59 1097718
Merge remote-tracking branch 'origin/b/lakitu-312/sf-col-idtn' into b…
Kilo59 ad0d7af
fix bad merge
Kilo59 4101368
remove databricks xfail
Kilo59 a8deaee
Merge branch 'develop' into b/lakitu-312/sf-col-idtn
Kilo59 277ce9b
Merge branch 'develop' into b/lakitu-312/sf-col-idtn
Kilo59 1bbe466
better debug output
Kilo59 f9b264f
Merge remote-tracking branch 'origin/b/lakitu-312/sf-col-idtn' into b…
Kilo59 271fdb3
wrap_identifier stub
Kilo59 52bcde8
test for expectation exception
Kilo59 f014067
poc hack
Kilo59 547fa1e
don't just check for exceptions
Kilo59 22b0f94
add sqlalchemy plugin
Kilo59 7035a56
disable poc
Kilo59 a5354cf
disable snowflake normalization
Kilo59 07bba1e
re-enable tests
Kilo59 e896c33
logs
Kilo59 86e2c2c
use quotes when creating tables
Kilo59 b79d791
use dialect specific quotes for creating tables
Kilo59 06eced5
use dialect specific quotes for creating tables
Kilo59 5c56190
Merge branch 'develop' into b/lakitu-312/sf-col-idtn
Kilo59 6f61043
Merge remote-tracking branch 'origin/b/lakitu-312/sf-col-idtn' into b…
Kilo59 44426b8
fix merge
Kilo59 ad9c725
comment out high priority xfail
Kilo59 212b49d
remove single quote params
Kilo59 b776f89
add `name` `NAME` params
Kilo59 c4fb6f7
revert expectations changes
Kilo59 b1597b8
re-apply defaults
Kilo59 395e84a
fix debugging
Kilo59 e37dfea
test settings temp changes
Kilo59 b73b568
temp TEST changes
Kilo59 e0d2d54
log `get_sqlalchemy_column_metadata` errors
Kilo59 761df18
lots of logging
Kilo59 e480abd
wrap in `sa.text()`
Kilo59 70d3be0
better test failure output
Kilo59 f9c63ec
use the `execution_engine().get_connection()` method
Kilo59 222809a
update table_factory usage
Kilo59 c3d50f8
run all the tests
Kilo59 adf9dec
xfail table identifier tests for now
Kilo59 1bacbad
update `REQUIRE_FIXES`
Kilo59 665b4c2
add TODO
Kilo59 7672f6b
remove new params
Kilo59 fd3f159
conditional `sa.text()`
Kilo59 ef31a90
cleanup debug logging
Kilo59 87c7c4b
add `_get_exception_details()` helper
Kilo59 4963dd0
remove xfail
Kilo59 7ef9a59
Merge branch 'develop' into b/lakitu-312/sf-col-idtn
Kilo59 4caa61f
revert local changes
Kilo59 6953fa1
type ignores
Kilo59 692c3fd
revert
Kilo59 84e04f1
simplify `REQUIRES_FIXES`
Kilo59 f7b2b76
add `TestColumnIdentifiers::test_raw_queries()`
Kilo59 5f75854
skip unneeded sqlite drop tables
Kilo59 bf1357c
test columns created without quotes
Kilo59 40baae6
add `quoted_identifiers_ignore_case` to `SnowflakeDatasource`
Kilo59 8881d0f
better raw_query
Kilo59 72b43e8
use query builder too
Kilo59 c19e6bb
testing changes
Kilo59 1a60630
`_CaseInsensitiveString`
Kilo59 aef3220
Merge branch 'develop' into b/lakitu-312/sf-col-idtn
Kilo59 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
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.
@billdirks here is where the monkeypatching is done.