Skip to content
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

Add timestamp handling to checkpoint writer #340

Merged
merged 2 commits into from
Aug 1, 2021

Conversation

xianwill
Copy link
Collaborator

@xianwill xianwill commented Jul 30, 2021

Description

Add handling for the timestamp type to the checkpoint writer.

Within JSON log files, timestamps are stored as an ISO8601 string. In checkpoint files, they are stored with a physical type of int64 and a logical type describing precision, etc..

This PR deserializes the JSON string stored in stats min and max values and converts it to nanoseconds to match the delta-rs schema mapping.

Related

delta-io/kafka-delta-ingest#44

@xianwill xianwill requested review from mosyp, rtyler and houqp July 31, 2021 12:51
@xianwill xianwill marked this pull request as ready for review July 31, 2021 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants