Different semantics of casting from int64 to timestamp between Comet and Spark #146
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
What is the problem the feature request solves?
In Spark, casting from LongType to Timestamp is to casting seconds to microseconds. arrow-rs's cast kernel basically simply reinterprets Int64Array as TimestampMicrosecondArray. So the scale is different, i.e., seconds v.s. microseconds.
We need to add this special case into Comet's cast kernel.
Describe the potential solution
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: