toripicklehead35 opened a new issue, #14488:
URL: https://github.com/apache/iceberg/issues/14488

   ### Feature Request / Improvement
   
   Feature Request / Improvement
   Users might accidentally delete a column, after which the column data cannot 
be recovered, except by reading from an old snapshot via time travel. However, 
the column cannot be re-added to the table's current schema since iceberg uses 
unique IDs to track columns.
   
   I think we could support undelete columns to address this issue, meaning 
re-adding columns that exist in old schemas but have been dropped from the 
latest schema, to produce a new table schema.
   
   That said, we need to handle compatibility issues properly. For example, 
required columns must be converted to optional before being added back, and for 
columns whose types have been changed, we need to select the latest promoted 
type to avoid compatibility issues.
   
   ### Query engine
   
   None
   
   ### Willingness to contribute
   
   - [ ] I can contribute this improvement/feature independently
   - [ ] I would be willing to contribute this improvement/feature with 
guidance from the Iceberg community
   - [ ] I cannot contribute this improvement/feature at this time


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