Skip to content

Conversation

@rawataaryan9
Copy link
Contributor

The current iceberg table properties by design do not support any other value than non-null string values. However, due to a typo in the code, it allows a null value for a table property. Due to this we can store the value as null but breaks the read/load of iceberg table back due to non-null property values checks as part of metadata parsers.
This PR just updates the typo to ensure we cannot populate non-null values.

@rdblue @jackye1995 @aokolnychyi @RussellSpitzer

@github-actions github-actions bot added the core label Aug 30, 2021
@rawataaryan9 rawataaryan9 force-pushed the aman-rawat/properties-update-null-fix branch 2 times, most recently from 4f7a7fc to faaba1d Compare August 30, 2021 04:07
@rawataaryan9 rawataaryan9 force-pushed the aman-rawat/properties-update-null-fix branch from faaba1d to 19b11df Compare August 30, 2021 04:14
@rdblue
Copy link
Contributor

rdblue commented Aug 30, 2021

Thanks, @rawataaryan9! Looks good. I approved this to run tests and I'll merge when they pass.

Copy link
Contributor

@kbendick kbendick left a comment

Choose a reason for hiding this comment

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

LGTM

@rdblue rdblue merged commit 80ff749 into apache:master Aug 30, 2021
@rdblue rdblue added this to the Java 0.12.1 Release milestone Aug 30, 2021
@rdblue
Copy link
Contributor

rdblue commented Aug 30, 2021

Merged. I'm also marking this for inclusion in a patch release if we decide to make one. While it probably isn't reason in itself to do another release, it would be nice to fix this for people.

@rawataaryan9 rawataaryan9 deleted the aman-rawat/properties-update-null-fix branch August 30, 2021 19:16
kbendick pushed a commit to kbendick/iceberg that referenced this pull request Oct 26, 2021
kbendick pushed a commit to kbendick/iceberg that referenced this pull request Oct 27, 2021
rdblue pushed a commit that referenced this pull request Oct 29, 2021
izchen pushed a commit to izchen/iceberg that referenced this pull request Dec 7, 2021
Initial-neko pushed a commit to Initial-neko/iceberg that referenced this pull request Dec 13, 2021
Initial-neko pushed a commit to Initial-neko/iceberg that referenced this pull request Dec 17, 2021
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.

4 participants