RussellSpitzer commented on issue #7827:
URL: https://github.com/apache/iceberg/issues/7827#issuecomment-1589400420

   You actually have two problems. The "Location based table" means there is no 
catalog for your table. It's location is wherever it is. Basically when looking 
for a metadata.json file, it just looks in that spot. So you can't ever 
"change" this location because by definition the location of the table is where 
you are looking for the file.
   
   The second issue is that even if you could update the location, or set a new 
data directory or metadata directory (those are options with a location based 
table), this would only effect new files. The metadata for old files would 
remain and the references to files would be unchanged. This means if you saved 
the full cluster path in the only metadata files, the only way to update the 
location would be to write new metadata files. Unfortunately, at the moment 
there is no automatic way to do this. Internally we have written small actions 
to do this but that code is not in OSS.


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