Skip to content

Add register_table procedure usage instructions #25784

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

XavieLee
Copy link
Member

Description

People try to register tables in a different location and face query failures later, add description for this function.

Additional context and related issues

#16105

Release notes

(x) This is not user-visible or is docs only, and no release notes are required.

@@ -555,6 +555,8 @@ To prevent unauthorized users from accessing data, this procedure is disabled by
default. The procedure is enabled only when
`iceberg.register-table-procedure.enabled` is set to `true`.

Avoid registering multiple tables with the same location.
Copy link
Contributor

Choose a reason for hiding this comment

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

Reasoning behind the recommandation is missing

Copy link
Member Author

Choose a reason for hiding this comment

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

@findinpath I follow ebyhr's suggestion and remove it before. #25536 (comment)

now I have re-described it, please help review again, thanks~

Copy link
Member

@ebyhr ebyhr May 23, 2025

Choose a reason for hiding this comment

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

I wasn't suggesting removing the reason - the removed part isn't the "reason". It's just a protection rule.

@XavieLee XavieLee force-pushed the update/doc/register_table branch from b6abfff to a38189f Compare May 20, 2025 03:00
@@ -555,6 +555,8 @@ To prevent unauthorized users from accessing data, this procedure is disabled by
default. The procedure is enabled only when
`iceberg.register-table-procedure.enabled` is set to `true`.

Ensure tables are registered using their prior storage path, and avoid associating multiple tables with identical locations.
Copy link
Member

Choose a reason for hiding this comment

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

"Ensure tables are registered using their prior storage path"

Users don't have to ensure that. The procedure blocks such execution either way.

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

Successfully merging this pull request may close these issues.

3 participants