badalprasadsingh opened a new issue, #1687:
URL: https://github.com/apache/iceberg-go/issues/1687

   ### Apache Iceberg version
   
   None
   
   ### Please describe the bug 🐞
   
   When a column is deleted and a new nested column is added under that same 
(now-deleted) parent within the same `UpdateSchema` or `Transaction` chain, 
`AddColumn` succeeds without error, but `Apply()` / `Commit()` silently drops 
the newly added column because the parent struct field is removed from the 
schema before the visitor considers pending additions under it.
   
   What is expected? An error, since the parent is already deleted
   
   ### Status
   
   I'm working on this and will be submitting a PR.


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