You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2021/02/22 09:41:54 UTC
[GitHub] [druid] waybi commented on pull request #2614: Support week, month, quarter, and year in query granularity
waybi commented on pull request #2614:
URL: https://github.com/apache/druid/pull/2614#issuecomment-783240423
> @bkyryliuk
> `week` starts from Monday as it is default of Period Granularity.
> You can make query granularity of week that starts from Sunday by using
> custom Period Granularity like
> `{"type":"period", "period":"P1W","origin":"2016-01-03T00:00:00"}`
> `origin` can be any Sunday.
>
> More details in Period Granularity of http://druid.io/docs/latest/querying/granularities.html.
it can`t work after adding time shift to the filter
----------------------------------------------------------------
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: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org