-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(query): Group By queries with offset that crosses a DST boundary …
…can fail (#20230) * fix(query): Group By queries with offset that crosses a DST boundary can fail Customer reported that a GROUP BY query with an offset that caused an interval to cross a daylight savings change inserted an extra output row off by one hour. This fix ensured that the start time for the interval of a GROUP BY operator is correctly set before calculating the time zone offset for that date and time. Add TestGroupByIterator_DST() in query/iterator_test.go for regression testing of this bug. Fixes #20238
- Loading branch information
1 parent
5d922e9
commit df39b1e
Showing
2 changed files
with
57 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters