Skip to content

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

Open
WZhuo wants to merge 1 commit into
apache:mainfrom
WZhuo:fix_update_props
Open

fix: return error for reserved property keys in UpdateProperties::Set()#817
WZhuo wants to merge 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready to merge This PR has been approved and it is ready to merge.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants