FrankChen021 edited a comment on issue #11929: URL: https://github.com/apache/druid/issues/11929#issuecomment-1026969535
> PARTITIONED BY is required and can either be a time floor function like PARTITION BY FLOOR(__time TO DAY) or PARTITION BY TIME_FLOOR(__time, 'PT1H'), a time unit like PARTITION BY HOUR, PARTITION BY DAY, PARTITION BY MONTH, or PARTITION BY YEAR; or the special phrase PARTITION BY ALL TIME. If you use the expression form, and provide an expression that is not a recognizable time floor expression, it's an error. I like the time unit expression: PARTITION BY HOUR, PARTITION BY DAY, PARTITION BY MONTH, or PARTITION BY YEAR. Of course, this does not mean that we should only support this way. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
