You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Presto is returning different values for date_add(-7, FOO_TIME) and FOO_TIME - INTERVAL '7' HOUR. Specifically, when a string is passed into parse_datetime(), and the output of this fed into date_trunc('hour', ...) - INTERVAL '7' HOUR, we are observing two different values.
We think that this may be an issue with TimestampWithTImeZones here:
Presto is returning different values for date_add(-7, FOO_TIME) and FOO_TIME - INTERVAL '7' HOUR. Specifically, when a string is passed into parse_datetime(), and the output of this fed into date_trunc('hour', ...) - INTERVAL '7' HOUR, we are observing two different values.
We think that this may be an issue with TimestampWithTImeZones here:
presto/presto-main/src/main/java/com/facebook/presto/type/DateTimeOperators.java
Lines 105 to 109 in 70af20f
Expected Behavior
Current Behavior
The text was updated successfully, but these errors were encountered: