-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parquet TZ aware datetimes not correctly read by the default engine #2723
Comments
Polars does not yet support timezones. |
Oh, OK, I did not know. But even without the TZ, would it be possible to have the correct offset for the dates? |
Yep, will look at that. |
Merged
Merged
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What language are you using?
Python
What version of polars are you using?
0.13.4
What operating system are you using polars on?
Ubuntu 20.04
What language version are you using
python 3.8.12
Describe your bug.
Parquet files with time zones are not accurately read by the default engine. Using
pyarrow
is fine, but slower.What are the steps to reproduce the behavior?
Note that this happens only when the datetime has a timezone, if it is naïve, the datetime is correctly read.
What is the expected behavior?
As the default engine is faster, I would have liked it to read at least the correct offset.
Also, I did not manage to find an argument that I could pass so that the TZ is retained, maybe I missed something in the documentation.
Thank you for this project, I like it a lot, and I'll try to onboard my colleagues on it :)
The text was updated successfully, but these errors were encountered: