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

feat(table): Implement converting Iceberg schema and types to Arrow #168

Merged
merged 6 commits into from
Oct 18, 2024

Conversation

zeroshade
Copy link
Member

#155 implemented the conversion of Arrow schemas to Iceberg which will be needed for reading data from Parquet files or otherwise. This PR implements the reverse, converting Iceberg schemas and types to Arrow schemas and data types. This is required for optimizing reads, pruning columns, constructing filter and projection expressions and so on.

The tests that were added are also updated to now be roundtrip tests where appropriate to ensure that we test both directions of Arrow -> Iceberg and Iceberg -> Arrow

@github-actions github-actions bot added the INFRA label Oct 9, 2024
@zeroshade
Copy link
Member Author

CC @Fokko @nastra please take a look when you have a chance. Thanks!

@nastra
Copy link
Contributor

nastra commented Oct 18, 2024

@zeroshade can you please rebase due to the merge conflict?

@zeroshade
Copy link
Member Author

@nastra rebased! Thanks

@nastra nastra merged commit dc4fe4b into apache:main Oct 18, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants