dengzhhu653 commented on PR #5989:
URL: https://github.com/apache/hive/pull/5989#issuecomment-3100838303

   > @dengzhhu653, for the iceberg usecase mentioned in description, I believe 
updating location will not fully resolve the problem as metadata 
(snapshot.avro, metadata.json etc) also needs to be updated (unless there is 
some internal solution to update the metadata) explicitly.
   > 
   > Reference: 
[apache/iceberg#1617](https://github.com/apache/iceberg/issues/1617) , I think 
we need to implement this proceduce in hive 
https://iceberg.apache.org/docs/latest/spark-procedures/#rewrite_table_path CC 
@deniskuzZ
   > 
   > **But this PR will be helpful post updating the metadata in iceberg.**
   
   Thank you @Aggarwal-Raghav for pointing it out. Not sure if the 
`rewrite_table_path` will update the `metadata_location` in HMS table, looks 
it's not, as it uses the `register_table` to load the new copied table in the 
last step. 


-- 
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: gitbox-unsubscr...@hive.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org
For additional commands, e-mail: gitbox-h...@hive.apache.org

Reply via email to