-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Docs: Add rewrite-table-path in spark procedure #12115
base: main
Are you sure you want to change the base?
Conversation
thank you @flyrain @RussellSpitzer for the promptly review, updated per your suggestion! |
Co-authored-by: Russell Spitzer <[email protected]>
Co-authored-by: Russell Spitzer <[email protected]>
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.
Thanks, looks better, some more nits
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.
LGTM with a minor comment. Thanks for doing this!
Co-authored-by: Yufei Gu <[email protected]>
With #11929 merged, I can remove the warning in the documentation for table with statistics files |
## Table Replication | ||
|
||
The `rewrite-table-path` procedure prepares an Iceberg table for moving or copying to another 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.
How can we achieve moving with this procedure?
Stages a copy of the Iceberg table's metadata files where every absolute path source prefix is replaced by the specified target prefix. | ||
This can be the starting point to fully or incrementally copy an Iceberg table located under an absolute path under a | ||
source prefix to another under the target prefix. |
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.
"under an absolute path under a source prefix to another under the target prefix." is not easy to grok.
|
||
!!! info | ||
This procedure only prepares metadata or/and data files for an existing Iceberg table for copying or moving to a new 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.
Data files here means delete files, right?
Documentation for #11931 #11555
I took wording and docs with original author of @flyrain and @szehon-ho
Also @manuzhang is interested in this and wondering if @amogh-jahagirdar is ready to take this as part of 1.8