-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Generalize caching of connection in DbApiHook to improve performance #40751
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
Merged
Merged
Changes from all commits
Commits
Show all changes
91 commits
Select commit
Hold shift + click to select a range
1d00dc4
refactor: Moved connection_extra_lower from OdbcHook and JdbcHook to …
dabla 25a122a
refactor: Fixed static checks
davidblain-infrabel 076dac5
refactor: Removed connection_extra_lower from MsSqlHook
davidblain-infrabel 5748c70
refactor: Added cached connection property in DbApiHook
davidblain-infrabel 8a7d752
refactor: Fixed odbc_connection_string in OdbcHook
davidblain-infrabel 93ef22b
refactor: Fixed static check
davidblain-infrabel e0085df
Merge branch 'main' into fix/cache-connection-extra
dabla f5bab94
refactor: Fixed import of Connection
davidblain-infrabel 8b1b07f
Merge branch 'main' into fix/cache-connection-extra
dabla d99353f
refactor: Refactored connection on PostgresHook
davidblain-infrabel dd6c74f
refactor: Refactored Connection property so logic is generic for Post…
davidblain-infrabel 568220e
Merge branch 'main' into fix/cache-connection-extra
dabla 3de038c
refactor: Removed assignment of connection in MySqlHook
davidblain-infrabel 3a69726
refactor: Fixed import elasticsearch
davidblain-infrabel 9700377
refactor: Removed _placeholder and _connection from sql.pyi
davidblain-infrabel 3e255e2
refactor: Reorganized imports in sql.pyi
davidblain-infrabel 392d66d
refactor: Re-added import of MySQLdbConnection in MySQLHook
davidblain-infrabel 8c0793d
Merge branch 'main' into fix/cache-connection-extra
dabla 8572c73
Merge branch 'main' into fix/cache-connection-extra
dabla 4cdcac5
Merge branch 'main' into fix/cache-connection-extra
dabla c44e860
Merge branch 'main' into fix/cache-connection-extra
dabla 01c5710
refactor: Try to fix AttributeError: type object 'SkipDBTestsSession'…
davidblain-infrabel 4e499f4
Merge branch 'main' into fix/cache-connection-extra
dabla 739c173
Merge branch 'main' into fix/cache-connection-extra
dabla b3dcb46
Merge branch 'main' into fix/cache-connection-extra
dabla a85392e
Merge branch 'main' into fix/cache-connection-extra
dabla 792aa48
Merge branch 'main' into fix/cache-connection-extra
dabla 5257ab9
Merge branch 'main' into fix/cache-connection-extra
dabla d84a0e2
Merge branch 'main' into fix/cache-connection-extra
dabla 6dbdc5b
Merge branch 'main' into fix/cache-connection-extra
dabla 910398a
Merge branch 'main' into fix/cache-connection-extra
dabla 0a66005
Merge branch 'main' into fix/cache-connection-extra
dabla 7617284
Merge branch 'main' into fix/cache-connection-extra
dabla 5c8720b
Merge branch 'main' into fix/cache-connection-extra
dabla 2a0d222
Merge branch 'main' into fix/cache-connection-extra
dabla 63a8e75
refactor: Updated dependency to common sql 1.14.2
davidblain-infrabel 945ec47
Merge branch 'main' into fix/cache-connection-extra
dabla 944b1ad
Merge branch 'main' into fix/cache-connection-extra
dabla 10246c8
refactor: Updated provider dependencies
dabla a5431d7
Merge branch 'main' into fix/cache-connection-extra
dabla 3cf6017
refactor: Fixed assertion of common sql pacakge version testing
davidblain-infrabel 2a19dd9
Merge branch 'main' into fix/cache-connection-extra
dabla 16f60bb
Merge branch 'main' into fix/cache-connection-extra
dabla 843c339
Merge branch 'main' into fix/cache-connection-extra
dabla f70fa49
Merge branch 'main' into fix/cache-connection-extra
dabla 03bfe96
Merge branch 'main' into fix/cache-connection-extra
dabla 032c8ee
Merge branch 'main' into fix/cache-connection-extra
dabla 97543d5
Merge branch 'main' into fix/cache-connection-extra
dabla 6bb4d87
Merge branch 'main' into fix/cache-connection-extra
dabla c1d811f
Merge branch 'main' into fix/cache-connection-extra
dabla 614e557
Merge branch 'main' into fix/cache-connection-extra
dabla 97255a5
Merge branch 'main' into fix/cache-connection-extra
dabla 0ae6540
refactor: Updated sql common version in providers
davidblain-infrabel 20bf513
refactor: updated provider dependencies
dabla 9fc51e4
Merge branch 'main' into fix/cache-connection-extra
dabla b1b16da
refactor: Use cached connection property in OracleHook
davidblain-infrabel 0ce1fec
refactor: Removed deepcopy from connection
davidblain-infrabel 28e0774
refactor: Updated docstring connection_extra_lower
davidblain-infrabel 91ead4a
refactor: Reformatted OracleHook
davidblain-infrabel 0a17b4a
Merge branch 'main' into fix/cache-connection-extra
dabla e5a9b76
Merge branch 'main' into fix/cache-connection-extra
dabla 88f287e
Merge branch 'main' into fix/cache-connection-extra
dabla 82646ea
Merge branch 'main' into fix/cache-connection-extra
dabla 343d42b
Merge branch 'main' into fix/cache-connection-extra
dabla 6582334
Merge branch 'main' into fix/cache-connection-extra
dabla bb23093
Merge branch 'main' into fix/cache-connection-extra
dabla 2e9c882
Merge branch 'main' into fix/cache-connection-extra
dabla 55935d4
Merge branch 'main' into fix/cache-connection-extra
dabla 7fc39c1
Merge branch 'main' into fix/cache-connection-extra
dabla 67e9b74
refactor: Connection in PostgresHook must be deep copied otherwise te…
davidblain-infrabel 7f09732
refactor: Refactored OracleHook as before
davidblain-infrabel a7350ec
Merge branch 'main' into fix/cache-connection-extra
dabla d6ba693
refactor: updated provider dependencies
dabla 2d4cdf1
Merge branch 'main' into fix/cache-connection-extra
dabla 6fdefa5
Merge branch 'main' into fix/cache-connection-extra
dabla 2e8d1ce
Merge branch 'main' into fix/cache-connection-extra
dabla ebeb439
Merge branch 'main' into fix/cache-connection-extra
dabla 025483d
Merge branch 'main' into fix/cache-connection-extra
dabla 9bcf105
Merge branch 'main' into fix/cache-connection-extra
dabla ac01418
Merge branch 'main' into fix/cache-connection-extra
dabla e810c71
Merge branch 'main' into fix/cache-connection-extra
dabla b5bc0ce
refactor: Updated sql common provider version
2672b24
Merge branch 'main' into fix/cache-connection-extra
dabla c9413f3
refactor: updated provider dependencies json file
dabla 868cf4e
refactor: Updated common sql provider version to be tested in breeze
davidblain-infrabel 22c1b79
Merge branch 'main' into fix/cache-connection-extra
dabla 7b2b4f2
Merge branch 'main' into fix/cache-connection-extra
dabla adaca5e
refactor: Bumped version to 1.17.0 of common sql provider
davidblain-infrabel 2c2ed77
refactor: Added explanation what has changed in common sql provider f…
davidblain-infrabel 81d554e
Merge branch 'main' into fix/cache-connection-extra
dabla b69074a
Merge branch 'main' into fix/cache-connection-extra
dabla 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 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.