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

   ### Apache Iceberg version
   
   1.3.1 (latest release)
   
   ### Query engine
   
   None
   
   ### Please describe the bug 🐞
   
   When performing ALTER TABLE ... DROP COLUMN, it drops columns as expected. 
However, the API also allows dropping the last column of a table, rendering the 
table useless. There are no more operations allowed on the table unless a new 
column is added. 
   
   I think we need to check whether the final schema has any columns or not 
before committing the changes.


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