- Notifications
You must be signed in to change notification settings - Fork126
SQLAlchemy 2: Expose TIMESTAMP and TIMESTAMP_NTZ types to users#268
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes fromall commits
Commits
Show all changes
16 commits Select commitHold shift + click to select a range
9d88c51 Strip out protocol check and add use_inline_params config for the
3c70e1b Move parameter tests into a dedicated class rather than a mixin
f40e221 Update all e2e tests per guidance from YD.
316cae3 Black the codebase
148e76b Update docstring
f0e1a51 Update sqlalchemy dialect to always use NATIVE ParamApproach, as this
52f1167 Update use_inline_params so that a warning log is emitted if inline
07802fa Mark DateTimeTZTest as skipped→unsupported
a174ad5 Implement timezone handling for sqlalchemy.Time() type
6e15c72 Move TimeTZTest into _regression.py
d7cdb6e Merge branch 'main' into sqlalchemy-tz
6719013 Expose TIMEZONE and TIMEZONE_NTZ types to users with tests
40e23d2 Merge branch 'main' into sqlalchemy-tz
bb492ce Update comments for accuracy
ee36b90 Fix types
b94fc91 Black files
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
4 changes: 2 additions & 2 deletionssrc/databricks/sqlalchemy/__init__.py
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| from databricks.sqlalchemy.base import DatabricksDialect | ||
| from databricks.sqlalchemy._types import TINYINT, TIMESTAMP, TIMESTAMP_NTZ | ||
| __all__ = ["TINYINT", "TIMESTAMP", "TIMESTAMP_NTZ"] |
158 changes: 125 additions & 33 deletionssrc/databricks/sqlalchemy/_types.py
This file contains hidden or 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
2 changes: 1 addition & 1 deletionsrc/databricks/sqlalchemy/base.py
This file contains hidden or 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
7 changes: 7 additions & 0 deletionssrc/databricks/sqlalchemy/requirements.py
This file contains hidden or 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
24 changes: 23 additions & 1 deletionsrc/databricks/sqlalchemy/test/_extra.py
This file contains hidden or 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
23 changes: 0 additions & 23 deletionssrc/databricks/sqlalchemy/test/_future.py
This file contains hidden or 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
6 changes: 6 additions & 0 deletionssrc/databricks/sqlalchemy/test/_regression.py
This file contains hidden or 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
17 changes: 17 additions & 0 deletionssrc/databricks/sqlalchemy/test/_unsupported.py
This file contains hidden or 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
2 changes: 1 addition & 1 deletionsrc/databricks/sqlalchemy/test/test_suite.py
This file contains hidden or 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.
Uh oh!
There was an error while loading.Please reload this page.
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.