delta-rs icon indicating copy to clipboard operation
delta-rs copied to clipboard

Support second and millisecond precision for timestamps

Open rebasedming opened this issue 1 year ago • 2 comments

Description

The delta-rs PrimitiveType timestamp types only support microsecond precision. While this is sufficient for most use cases, it would be nice to also support second and millisecond precision.

Use Case

I would like to use second/millisecond precision timestamps in my DataFusion DeltaTables.

Related Issue(s)

rebasedming avatar Mar 09 '24 16:03 rebasedming

take

rebasedming avatar Mar 09 '24 16:03 rebasedming

@rebasedming the lack of support for different time units is primarily driven by the Delta Protocol . As mentioned in https://github.com/delta-io/delta-rs/issues/2272 these units should be added a the protocol level first.

Blajda avatar Mar 10 '24 23:03 Blajda