riceliu commented on issue #13619:
URL: https://github.com/apache/superset/issues/13619#issuecomment-811678408
> Adding it solved problem. thanks. I'm putting here in case someone needs
>
> ```
> TIME_GRAIN_ADDONS: Dict[str, str] = {
> 'PT2S': '2 second',
> 'PT5S': '5 second',
> 'PT10S': '10 second',
> 'PT30S': '30 second'
> }
>
> TIME_GRAIN_ADDON_EXPRESSIONS: Dict[str, Dict[str, str]] = {
> 'druid': {
> 'PT2S': '''TIME_FLOOR("__time", 'PT2S')''',
> 'PT5S': '''TIME_FLOOR("__time", 'PT5S')''',
> 'PT10S': '''TIME_FLOOR("__time", 'PT10S')''',
> 'PT30S': '''TIME_FLOOR("__time", 'PT30S')'''
> }
> }
> ```
Can you help give me the expression function of mysql?
--
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:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]