man-group / ArcticDB

ArcticDB is a high performance, serverless DataFrame database built for the Python Data Science ecosystem.
http://arcticdb.io
Other
1.52k stars 93 forks source link

Fix time zone handling in index values and metadata #1866

Open G-D-Petrov opened 1 month ago

G-D-Petrov commented 1 month ago

Reference Issues/PRs

Fixes #1406 and #1827

What does this implement or fix?

This is done by extending the current approach to decompose the timestamp into:

This approach is beneficial as it:

The main problem is that we need to do some post processing to coerce the time zone info to be consistent (done here)

Any other comments?

An alternative approach was considered in a past PR here, but that had a couple of limitation: