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

Coerce timestamp units in metadata #107

Conversation

IzerOnadimQC
Copy link
Collaborator

Currently, plateau only supports timestamps with nanosecond resolution.

When saving to parquet files, all timestamp units are coerced (by arrow) to microsecond resolution, and then coerced back (by plateau) to nanoseconds after being loaded. This PR ensures that the conversion process does not cause an error by similarly coercing the units of timestamps in table schemas.

This PR also prepares the release of plateau 4.2.1.

  • Changelog entry

tests/io_components/test_write.py Outdated Show resolved Hide resolved
@IzerOnadimQC IzerOnadimQC merged commit 2e2740e into data-engineering-collective:main Oct 31, 2023
20 checks passed
@IzerOnadimQC IzerOnadimQC deleted the timestamp-unit-metadata branch October 31, 2023 12:43
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