Incorrect Scalar Timezone Coercion #5952
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Extra attention is needed
Describe the bug
The scalar coercion logic currently incorrectly interprets a timezone without a timezone qualifier as a time since the UTC epoch. It should instead interpret it as relative to the timezone it is being cast to.
To Reproduce
#5914 added the following test (known to be incorrect at the time)
Expected behavior
The correct result is
Additional context
Following #5782 which includes the fix for apache/arrow-rs#1936 the array cast is now correct
The text was updated successfully, but these errors were encountered: