Support writing UTC adjusted time
arrow array to parquet
#6277
Labels
enhancement
Any new improvement worthy of a entry in the changelog
parquet
Changes to the parquet crate
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
To support writing
Time with timezone
array to parquet in a similar way to how we writeTimestamp with timezone
. Currently,Time
arrays are always converted to parquet with no timezone. (seefn arrow_to_parquet_type
)Describe the solution you'd like
We can check optional metadata key called
adjusted_to_utc
instead of always filling parquet'sis_adjusted_to_utc
false during the conversion. That would not cause any API change.Describe alternatives you've considered
Add timezone string as second tuple field to
arrow_schema::DataType::Time32
andarrow_schema::DataType::Time64
. This is how it is done forTimestamp
, which would cause an API change.The text was updated successfully, but these errors were encountered: