You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2019/07/02 04:52:16 UTC

[GitHub] [incubator-superset] villebro commented on issue #7580: Queries using current_username() method do not run properly when caching is enabled

villebro commented on issue #7580: Queries using current_username() method do not run properly when caching is enabled
URL: https://github.com/apache/incubator-superset/issues/7580#issuecomment-507517330
 
 
   @mistercrunch I have a working prototype that fixes this problem. The idea is to keep the `query_object` unchanged, but run it through the query compilation phase to catch any keys from the template processor (any values that have been fed to `cache_key_wrapper`), and then add those to a list that goes into `cache_dict` that's used for calculating the hash. I'll clean up the code and add unit tests and should be able to put through a PR later this week.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org