flyrain commented on issue #1617:
URL: https://github.com/apache/iceberg/issues/1617#issuecomment-879620722


   @pvary, yes, the relative path approach looks more elegant than the metadata 
rebuild one. As I mentioned, it is close to the ideal case, which doesn't 
rewrite the metadata files.
   > What do we want to change in the json? Is it only the path of the table, 
or we have to rewrite something else as well? Could we use something like the 
LocationProvider (which generates new datafile locations) to make the path 
resolution pluggable and store only the config in the table?
   
   Need to change the location in metadata.json, or a combination of three 
table properties mentioned by @rdblue and @jackye1995. 
   
   Thanks @jackye1995 's proposal. It makes sense to have a centralized place 
to get the root for data and metadata since there are multiple ways to specify 
their locations. We can also hide the logic of how to prioritize them. cc 
@anuragmantri. 


-- 
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]

Reply via email to