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 2021/06/07 15:53:19 UTC

[GitHub] [superset] krsnik93 edited a comment on issue #11406: How to get filter box time grain in SQL query

krsnik93 edited a comment on issue #11406:
URL: https://github.com/apache/superset/issues/11406#issuecomment-856055890


   facing this as well, templating works for non time-related columns but not for time grain. This bit of code:
   https://github.com/apache/superset/blob/24ad6063d736c1f38ad6f962e586b9b1a21946af/superset/utils/core.py#L1012-L1018
   makes me think that it should be doable to do `filter_values('time_grain_sqla')` but it's not working.


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



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