Skip to content
This repository has been archived by the owner on May 15, 2023. It is now read-only.

Either set supports_statement_cache to True or False #3

Closed
ebarault opened this issue Apr 1, 2022 · 0 comments · Fixed by #5
Closed

Either set supports_statement_cache to True or False #3

ebarault opened this issue Apr 1, 2022 · 0 comments · Fixed by #5

Comments

@ebarault
Copy link

ebarault commented Apr 1, 2022

Hi,

Many thanks for providing this dialect !

I'm getting this warning when running queries:

SAWarning: Dialect databricks:connector will not make use of SQL compilation caching as it does not set the 'supports_statement_cache' attribute to True. This can have significant performance implications including some performance degradations in comparison to prior SQLAlchemy versions. Dialect maintainers should seek to set this attribute to True after appropriate development and testing for SQLAlchemy 1.4 caching support. Alternatively, this attribute may be set to False which will disable this warning. (Background on this error at: https://sqlalche.me/e/14/cprf)

@ebarault ebarault changed the title Either set supports_statement_cache to true or false Either set supports_statement_cache to True or False Apr 1, 2022
@crflynn crflynn closed this as completed in #5 May 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant