take
drops timezone from an input array with type Timestamp
#393
Labels
take
drops timezone from an input array with type Timestamp
#393
Describe the bug
If you call
take
with an Array of typeTimestamp(Milliseconds, Some(UTC))
, you'll get a result with typeTimestamp(Milliseconds, None)
. I'm looking at version 4.2.0 compiled with rust 1.52.To Reproduce
If you like I can write a test case....
Expected behavior
I expect kernels like
take
to return an array with the same data type as their input.Additional context
I think the problem is in
compute/kernels/take.rs
:Note the 4
_
s indicating that the timezone information is being dropped and never used in constructingtake
's output.The text was updated successfully, but these errors were encountered: