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/23 17:34:02 UTC

[GitHub] [superset] john-bodley commented on pull request #15320: chore: Add Druid SQL time grains for parity with Druid NoSQL

john-bodley commented on pull request #15320:
URL: https://github.com/apache/superset/pull/15320#issuecomment-867028511


   @villebro would you mind re-reviewing this PR? I added all the additional time grains (not just week starting/ending) which have not previously been defined or the SQL connector. Let me know if this should be added in `db_engine_specs/base.py` (as defined) or whether `db_engine_specs/druid.py` should override the `get_time_grains()` method.
   
   Furthermore I'm not sure if additional work is required, i.e., for Pandas post processing per [here](https://github.com/apache/superset/blob/7c17b1a97faae45883a141e5e70bfd4b66c902f0/superset/utils/pandas_postprocessing.py#L85-L102v). Additionally I'm not sure if the custom [time grain configuration logic](https://github.com/apache/superset/blob/master/superset/config.py#L544-L557) actually works if these need to be defined within the post processing as mentioned above.


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