-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Disallow timestamp w/ tz values that fall in DST gap or are ambiguous #5781
Comments
Example of an ambiguous value due to DST backwards transition
but:
|
I thought we decided we were using the "lax" rules everywhere in Presto. In that case, gaps get pushed +1 hr, and I don't remember what is chosen for double. If we are changing this, I expect it will be a big deal to implement this everywhere. |
I don't remember ever deciding that, but it's very problematic. It screws up with optimizations the engine could do and produces surprising (incorrect) results, as in the example above. |
Operations that result in timestamp w/ tz values that fall in the DST gap or that are ambiguous because of DST transitions should fail with an error.
The text was updated successfully, but these errors were encountered: