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/05/24 18:52:43 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-495753300
 
 
   Hmm, a quick fix that comes to mind is to search the query string with a regex along the lines of
   `\{\{(.|\n)*current_username\(\)(.|\n)*\}\}`, and if there is a match, add the username to the query object so it gets baked into the hash. This should be easy to implement, but feels slightly hackish at first glance..

----------------------------------------------------------------
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