-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
base: master
Are you sure you want to change the base?
Conversation
@@ -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. |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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~
There was a problem hiding this comment.
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.
b6abfff
to
a38189f
Compare
@@ -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. |
There was a problem hiding this comment.
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.
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.