-
Notifications
You must be signed in to change notification settings - Fork 30
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
feat(table): add conversion from Arrow Schema to Iceberg #155
Conversation
{"test_partitioned_by_hours", iceberg.GreaterThanEqual(iceberg.Reference("ts"), "2023-03-05T00:00:00+00:00"), 8}, | ||
{"test_partitioned_by_truncate", iceberg.GreaterThanEqual(iceberg.Reference("letter"), "e"), 8}, | ||
{"test_partitioned_by_bucket", iceberg.GreaterThanEqual(iceberg.Reference("number"), int32(5)), 6}, | ||
// for some reason when I run the provisioning locally i get 5 data files | ||
// but GHA CI running spark provisioning ends up with only 4 files? | ||
// anyone know why? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I forgot but what's correct here, 4 or 5 data files?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like my local runs now match the CI runs in generating 4 files so that seems correct to me.
Co-authored-by: Eduard Tudenhoefner <[email protected]>
In preparation for adding Data Reading, I'm splitting up the PRs to make them more reasonable to review.
This PR updates the version of the Arrow Go library being utilized and implements the conversions from Arrow Schemas to Iceberg Schemas, including name mapping for handling field IDs properly.
Tests are also included for this.