[ 
https://issues.apache.org/jira/browse/HDDS-14937?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sreeja updated HDDS-14937:
--------------------------
    Description: 
Iceberg provides [RewriteTablePath 
|https://github.com/apache/iceberg/blob/1.10.x/api/src/main/java/org/apache/iceberg/actions/RewriteTablePath.java]
 action that rewrites the table's metadata files(metadata json files , manifest 
lists , manifest files and if any positional delete files) to a staging 
directory, replacing all source prefixes in absolute paths with a specified 
target prefix.

Ozone should implement this action to be able to natively change the source 
prefixes in absolute paths with a specified target prefix in the metadata files 
of the iceberg table with. zero data file copy.
Iceberg also provides the core util methods in  
[RewriteTablePathUtil|https://github.com/apache/iceberg/blob/1.10.x/core/src/main/java/org/apache/iceberg/RewriteTablePathUtil.java]
  that can be used to by Ozone for the same purpose.

 

 

  was:
Iceberg provides [RewriteTablePath 
|https://github.com/apache/iceberg/blob/1.10.x/api/src/main/java/org/apache/iceberg/actions/RewriteTablePath.java]
 action that rewrites the table's metadata files(metadata json files , manifest 
lists , manifest files and if any positional delete files) to a staging 
directory, replacing all source prefixes in absolute paths with a specified 
target prefix.

Ozone should also implement this action to be able to natively change the 
source prefixes in absolute paths with a specified target prefix in the 
metadata files of the iceberg table with. zero data file copy.



 

 


> Ozone native implementation of Iceberg RewriteTablePath
> -------------------------------------------------------
>
>                 Key: HDDS-14937
>                 URL: https://issues.apache.org/jira/browse/HDDS-14937
>             Project: Apache Ozone
>          Issue Type: Epic
>            Reporter: Sreeja
>            Assignee: Sreeja
>            Priority: Major
>
> Iceberg provides [RewriteTablePath 
> |https://github.com/apache/iceberg/blob/1.10.x/api/src/main/java/org/apache/iceberg/actions/RewriteTablePath.java]
>  action that rewrites the table's metadata files(metadata json files , 
> manifest lists , manifest files and if any positional delete files) to a 
> staging directory, replacing all source prefixes in absolute paths with a 
> specified target prefix.
> Ozone should implement this action to be able to natively change the source 
> prefixes in absolute paths with a specified target prefix in the metadata 
> files of the iceberg table with. zero data file copy.
> Iceberg also provides the core util methods in  
> [RewriteTablePathUtil|https://github.com/apache/iceberg/blob/1.10.x/core/src/main/java/org/apache/iceberg/RewriteTablePathUtil.java]
>   that can be used to by Ozone for the same purpose.
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to