mxm commented on PR #18517: URL: https://github.com/apache/iceberg/pull/18517#issuecomment-6218131026
On the first version of Dynamic Sink, we intentionally did not support dropping fields in Dynamic Sink, because matching by name reliably does not work when columns are dropped and re-appear. Users requested it, so we ended up adding it. IMHO iterating from latest to oldest schema is the correct way to handle dropped columns which re-appeared. It will prioritize the new field, but still allow the old field to be written as well, which may be possible in some scenarios. -- 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]
