cube-js/cube
View on GitHubRecycle preaggregations for different timezone when granularity is <= 1h
Open
#4,263 opened on Mar 24, 2022
help wanted
Repository metrics
- Stars
- (19,563 stars)
- PR merge metrics
- (Avg merge 5d 16h) (138 merged PRs in 30d)
Description
In order to use preaggregations with timezones we now need to specify in the configurations files a list of timezones for which cubejs generate the aggregations periodically. This makes sense when the granularity is larger than one hour, since the data might be different. However, when the granularity is one hour or less the UTC preaggregations could be used, just by shiftings the key by n-hours.