GH-47441: [Python][Parquet] Allow passing write_time_adjusted_to_utc to Python’s ParquetWriter (#47745)
Rationale for this change
Please see #47441 and #41476. The
ArrowWriterProperties.write_time_adjusted_to_utcflag is available in C++, yet isn’t accessible from Python. This PR introduces the said flag to Python API as well.What changes are included in this PR?
Exposure of
use_time_adjusted_to_utcboolean argument in Python’s API.Are these changes tested?
Yes, roundtrip parquet tests for all combinations of time types and their respective time units.
Are there any user-facing changes?
The users will be able to adjust the said flag directly from Python API.
- GitHub Issue: #47441
Lead-authored-by: Bogdan Romenskii rmnsk@seznam.cz Co-authored-by: Antoine Pitrou pitrou@free.fr Signed-off-by: Antoine Pitrou antoine@python.org
Apache Arrow
Powering In-Memory Analytics
Apache Arrow is a universal columnar format and multi-language toolbox for fast data interchange and in-memory analytics. It contains a set of technologies that enable data systems to efficiently store, process, and move data.
Major components of the project include:
↗: Arrow-powered API, drivers, and libraries for access to databases and query engines↗↗↗↗↗↗The
↗icon denotes that this component of the project is maintained in a separate repository.Arrow is an Apache Software Foundation project. Learn more at arrow.apache.org.
What’s in the Arrow libraries?
The reference Arrow libraries contain many distinct software components:
Implementation status
The official Arrow libraries in this repository are in different stages of implementing the Arrow format and related features. See our current feature matrix on git main.
How to Contribute
Please read our latest project contribution guide.
Getting involved
Even if you do not plan to contribute to Apache Arrow itself or Arrow integrations in other projects, we’d be happy to have you involved: