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: Added support to read iceberg tables partitioned by date #6430

Merged
merged 2 commits into from
Nov 26, 2024

Conversation

malhotrashivam
Copy link
Contributor

Closes #6419

@malhotrashivam malhotrashivam added this to the 0.37.1 milestone Nov 25, 2024
@malhotrashivam malhotrashivam self-assigned this Nov 25, 2024
@malhotrashivam malhotrashivam changed the title fix: Added support to read iceberg data partitioned by Date fix: Added support to read iceberg tables partitioned by date Nov 25, 2024
Comment on lines +96 to +97
colValue = IdentityPartitionConverters.convertConstant(
partitionData.getType(colData.index), valueFromPartitionData);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this okay to universally apply? Should we only do it when the partition spec specifies identity? https://iceberg.apache.org/spec/#partition-transforms

Copy link
Contributor Author

@malhotrashivam malhotrashivam Nov 26, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added a check to ensure identity transform and created this issue #6438.
We would need to test properly for non-identity transform.

@malhotrashivam malhotrashivam merged commit b93333f into deephaven:main Nov 26, 2024
17 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Nov 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Failure in reading Iceberg tables partitiond by date
2 participants