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/06/19 17:18:16 UTC

[GitHub] [druid] tarpdalton edited a comment on issue #2479: PeriodGranularity wonkiness with late-month origins

tarpdalton edited a comment on issue #2479:
URL: https://github.com/apache/druid/issues/2479#issuecomment-864244228


   Having the same issue trying to aggregate by monthly periods. I want to offset the periods by timezone offset so that counts are accurate for the timezone. 
   
   ```json
     "granularity": {
       "type": "period",
       "period": "P1M",
       "timeZone": "UTC",
       "origin": "1970-01-01T00:00:00+01:00"
     },
   ```
   
   Is there a work around or another way to solve the problem?
   
   EDIT:
   
   the bug still exists but my problem can mostly be solved by using timeZone in the granularity. 
   
   ```json
     "granularity": {
       "type": "period",
       "period": "P1M",
       "timeZone": "GB"
     },
   ```


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