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
Finest granularity is milliseconds, accumulated as an integer, hence fractions of that are silently ignored.
Could change this accumulator to nanoseconds, as i64, however this seems it would conflict with ScalarValue::IntervalDayTime which stores milliseconds as i32, compared to ScalarValue::IntervalMonthDayNano which does store nanoseconds.
Might need to change ScalarValue::IntervalDayTime to support nanoseconds perhaps? If want to be consistent between precision of ScalarValue::IntervalMonthDayNano and ScalarValue::IntervalDayTime
Edit: though since IntervalDayTime is an Arrow type, maybe just have that if fractions of milliseconds is found, then the result should always be a IntervalMonthDayNano to support keeping this precision, and thus not forcing IntervalDayTime to silently drop those fractional parts?
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
It works for millisecond
but doesn't work while the unit for second less than millisecond
Expected behavior
A clear and concise description of what you expected to happen.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: