-
Notifications
You must be signed in to change notification settings - Fork 533
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
Extra slow Utc to Local conversion #1583
Comments
Can I assume that you're on Windows? |
That would be currect. Currently working on POC on windows. Haven't tried on linux yet. |
Checked in WSL:
Much better but still slower then c# version. |
Edit: With |
I guess we should generalize the cache mechanism we use on the Unix side? |
I have to read large parquet files with 500M-1B records where one of the columns is a datetime. By convention for parquet timestamps are saved as Int96 UTC timestamp. When reading file I have to convert it to local time to make some simple calculations. Reading Int96 from file, converting it to milliseconds, creating
DateTime<Utc>
operations are fast, however converting toLocal
timezone is incredibly slow:Here is c# version for comparison (note that it is x6 times faster):
The text was updated successfully, but these errors were encountered: