datafusion icon indicating copy to clipboard operation
datafusion copied to clipboard

Document timezone semantics

Open alamb opened this issue 1 year ago • 2 comments

Is your feature request related to a problem or challenge?

The automatic coercion and comparison rules for timestamps with timezones (especially how timestamps with None) are treated is not clear -- for example https://github.com/apache/datafusion/discussions/10311 from @Abdullahsab3

Describe the solution you'd like

I would like something in the

Describe alternatives you've considered

No response

Additional context

No response

alamb avatar May 02 '24 10:05 alamb

@tustvold do you know of any documentation in arrow-rs? I took a quick look and couldn't find anything

https://docs.rs/arrow/latest/arrow/?search=timezone

Possibly related: https://github.com/apache/datafusion/issues/5823#issuecomment-1492965170

alamb avatar May 02 '24 10:05 alamb

https://docs.rs/arrow-schema/latest/arrow_schema/enum.DataType.html#variant.Timestamp

On the variant for timestamp

tustvold avatar May 02 '24 10:05 tustvold