[ 
https://issues.apache.org/jira/browse/PHOENIX-6735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17555084#comment-17555084
 ] 

Istvan Toth edited comment on PHOENIX-6735 at 6/16/22 1:44 PM:
---------------------------------------------------------------

Reading the[https://sqlalche.me/e/14/cprf], we don't support any of the 
features where caching may be relevant, so we can just set the property to 
false.


was (Author: stoty):
Reading the[https://sqlalche.me/e/14/cprf], we don't support any of the feature 
where caching may be relevant, so we can just set the property to false.

> Add supports_statement_cache attribute for SqlAlchemy dialect
> -------------------------------------------------------------
>
>                 Key: PHOENIX-6735
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-6735
>             Project: Phoenix
>          Issue Type: Bug
>          Components: python, queryserver
>            Reporter: Istvan Toth
>            Priority: Major
>
> Warning: Dialect phoenix:phoenixdb 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)



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to