Skip to content

Int96Converter Truncates Timestamps #2480

@tustvold

Description

@tustvold

Describe the bug

Int96ArrayConverter takes the INT96 data and converts it to an i64 number of milliseconds since epoch, it then multiplies this by 1_000_000 to convert to a i64 number of nanoseconds since epoch. This loses the nanosecond precision contained within the INT96 data

To Reproduce

Expected behavior

Additional context

Noticed whilst playing with #1661

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugparquetChanges to the parquet crate

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions