Skip to content

Fix reading timestamptz before epoch from Parquet#12855

Merged
findepi merged 1 commit intotrinodb:masterfrom
findepi:findepi/iceberg-parquet-before-epoch
Jun 15, 2022
Merged

Fix reading timestamptz before epoch from Parquet#12855
findepi merged 1 commit intotrinodb:masterfrom
findepi:findepi/iceberg-parquet-before-epoch

Conversation

@findepi
Copy link
Copy Markdown
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
Copy Markdown
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