Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GROUP BY query with offset crossing DST change fails [Backport to 1.8] #20252

Closed
davidby-influx opened this issue Dec 4, 2020 · 0 comments · Fixed by #20277
Closed

GROUP BY query with offset crossing DST change fails [Backport to 1.8] #20252

davidby-influx opened this issue Dec 4, 2020 · 0 comments · Fixed by #20277

Comments

@davidby-influx
Copy link
Contributor

Backport #20238 to 1.8

@davidby-influx davidby-influx self-assigned this Dec 4, 2020
davidby-influx added a commit that referenced this issue Dec 8, 2020
…can fail (#20277)

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

(cherry picked from commit df39b1e)

Fixes #20252
dgnorton pushed a commit that referenced this issue Feb 3, 2021
…can fail (#20277)

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

(cherry picked from commit df39b1e)

Fixes #20252
dgnorton pushed a commit that referenced this issue Feb 3, 2021
…can fail (#20277)

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

(cherry picked from commit df39b1e)

Fixes #20252
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant