Skip to content

Conversation

@gty404
Copy link
Contributor

@gty404 gty404 commented Jan 8, 2026

No description provided.

ICEBERG_BUILDER_ASSIGN_OR_RETURN(auto field_opt, FindFieldForUpdate(name));

// If not found, check if there's a deleted field with this name
if (!field_opt.has_value()) {
Copy link
Member

Choose a reason for hiding this comment

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

Why not directly error out? The Java impl does not check original field.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is to distinguish between conflicting types, whether columns do not exist at all, or whether deleted columns are updated. I will modify the logic of FindFieldForUpdate to no longer check the delete list, but check and return the corresponding conflict information in UpdateColumns, which is consistent with java

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.

2 participants