Skip to content

fix: return error for reserved property keys in UpdateProperties::Set()#817

Merged
wgtmac merged 1 commit into
apache:mainfrom
WZhuo:fix_update_props
Jul 11, 2026
Merged

fix: return error for reserved property keys in UpdateProperties::Set()#817
wgtmac merged 1 commit into
apache:mainfrom
WZhuo:fix_update_props

Conversation

@WZhuo

@WZhuo WZhuo commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Previously, reserved table properties (except format-version) were silently ignored when set via UpdateProperties::Set(). This caused undetected configuration drift compared to Java, which throws exceptions for such attempts.

Now attempts to set reserved properties accumulate a validation error via ICEBERGER_BUILDER_CHECK, surfaced at Apply() time. This matches Java's loud-failure behavior.

@WZhuo WZhuo force-pushed the fix_update_props branch from 072f787 to 87ee987 Compare July 6, 2026 01:12

@zhjwpku zhjwpku left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@zhjwpku zhjwpku added the ready to merge This PR has been approved and it is ready to merge. label Jul 6, 2026
@wgtmac wgtmac removed the ready to merge This PR has been approved and it is ready to merge. label Jul 11, 2026
@wgtmac wgtmac merged commit 3d5af47 into apache:main Jul 11, 2026
21 checks passed
@wgtmac

wgtmac commented Jul 11, 2026

Copy link
Copy Markdown
Member

Thanks @WZhuo for fixing this and @zhjwpku for the review!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants