KnightChess commented on issue #3306:
URL: https://github.com/apache/iceberg/issues/3306#issuecomment-947583746


   I have a crazy idea.
   I test in hadoop catalog.type. when you alter table, only xxx.metadata.json 
be changed (make sure you did not do any action). and there is two ways get the 
drop cloumn data.
   
   because only metadata change:
   - first method: you can update the vX.metadata.json file, change column id: 
shema.fileld.id、shemas[].fileld.id which change. finally remove the 
vX.metadata.json.crc file
   - second method: update the version-hint.text, and delete recent 
metadata.json include version-hint.text.crc
   > Either way can be successful
   
   hive type maybe need update metastore...


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