sreejasahithi opened a new pull request, #10053:
URL: https://github.com/apache/ozone/pull/10053
## What changes were proposed in this pull request?
This patch implements Iceberg's RewriteTablePath action and validates the
inputs provided for the path rewrite.
Prefix Rewrite Configuration
Allow specifying:
- sourcePrefix (existing path prefix)
- targetPrefix (replacement prefix)
- Ensure source and target prefixes are non-empty and not identical
- Version Range Support
Optional startVersion and endVersion inputs.
- Validate that provided version exist in table.
- Defaults:
- endVersion → current metadata version if not provided
- startVersion → if not set, rewrite applies up to end version from
beginning version.
Staging Location Handling
- Supports user-defined staging directory.
- If not provided, automatically generates a staging path within the
tables's metadata directory.
This change is required for upcoming patches in the epic: :
[HDDS-14937](https://issues.apache.org/jira/browse/HDDS-14937)
## What is the link to the Apache JIRA
[HDDS-14938](https://issues.apache.org/jira/browse/HDDS-14938)
## How was this patch tested?
Green CI : https://github.com/sreejasahithi/ozone/actions/runs/24018893628
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]