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
Thanks for finding this, looks like its not only limited to the nanoseconds portion of IntervalMonthDayNano, but its day portion, as well as the day bits of IntervalDayTime as well
Describe the bug
bug parsing interval that contains negative values
To Reproduce
this is a parsing issue but not a display issue, underline value is incorrect
IntervalMonthDayNano("-1000000000")
Expected behavior
0 year 1 mons 0 days 0 hours 0 mins -1 secs
Additional context
https://github.com/apache/arrow-datafusion/blob/406c1087bc16f8d2a49e5a9b05d2a0e1b67f7aa5/datafusion/common/src/parsers.rs#L151-L152
the binary expression for
result nanos
(which is 128bit long here) is111111111111111.........
which make months and days becomes negativenegative factional seconds has display issue #4220
The text was updated successfully, but these errors were encountered: