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

Fix reading timestamptz before epoch from Parquet #12855

Merged

Conversation

findepi
Copy link
Member

@findepi findepi commented Jun 15, 2022

The code applied % instead of floorMod, which isn't the correct
conversion method for values before epoch.

Fixes #12852
Extracted from #12795

The code applied `%` instead of `floorMod`, which isn't the correct
conversion method for values before epoch.
@findepi findepi force-pushed the findepi/iceberg-parquet-before-epoch branch from a221280 to 30599a0 Compare June 15, 2022 08:25
@findepi findepi marked this pull request as ready for review June 15, 2022 08:25
@findepi findepi changed the title Expose Iceberg failure reading Parquet instant before epoch Fix reading timestamptz before epoch from Parquet Jun 15, 2022
@findepi
Copy link
Member Author

findepi commented Jun 15, 2022

Smoke test coverage for all connectors coming in #12864.

@findepi findepi merged commit 5dbbe7d into trinodb:master Jun 15, 2022
@findepi findepi deleted the findepi/iceberg-parquet-before-epoch branch June 15, 2022 12:28
@findepi findepi mentioned this pull request Jun 15, 2022
@github-actions github-actions bot added this to the 386 milestone Jun 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

Iceberg fails to read certain timestamp with time zone values before the epoch from a Parquet file
4 participants