Rename Iceberg delete_orphan_files to remove_orphan_files#12468
Conversation
findepi
left a comment
There was a problem hiding this comment.
This is a breaking change, but we have an unintentional inconsistency with Spark procedures in what was intended to be modeled after them.
hashhar
left a comment
There was a problem hiding this comment.
Unfortunate but it's better to do such changes sooner rather than later.
There was a problem hiding this comment.
Unrelated to the current commit:
higher than -> higher than or equal to
There was a problem hiding this comment.
Thanks for fixing this, but keep separate commit
There was a problem hiding this comment.
a rename should be as mechanical as possible, and other fixes/improvements should be separate
There was a problem hiding this comment.
nit: Let's use the lowercased convention for procedure names (as documented in iceberg.rst) REMOVE_ORPHAN_FILES -> remove_orphan_files
There was a problem hiding this comment.
We do use VACUUM, OPTIMIZE, EXPIRE_SNAPSHOTS so I think REMOVE_ORPHAN_FIILES is perfectly fine here
8e0d504 to
7f6212b
Compare
7f6212b to
c1d894b
Compare
|
LGTM, worth calling out the config property naming change in RN. posted on slack, hopefully if anyone is seriously impacted we'll know if fallback is needed |
mosabua
left a comment
There was a problem hiding this comment.
Doc changes look good. My one question would be if we should keep the old name as legacy config so this is not a breaking change..
The procedure name changes. |
Fair enough ... probably need to mention it as breaking change in the release notes.. |
|
Thanks everyone for the involvement. |
Description
REMOVE_ORPHAN_FILES is a name used by iceberg and spark
Related issues, pull requests, and links
Documentation
( ) No documentation is needed.
(x) Sufficient documentation is included in this PR.
( ) Documentation PR is available with #prnumber.
( ) Documentation issue #issuenumber is filed, and can be handled later.
Release notes
( ) No release notes entries required.
(x) Release notes entries required with the following suggested text:
Renamed Iceberg DELETE_ORPHAN_FILES procedure to REMOVE_ORPHAN_FILES