badalprasadsingh opened a new issue, #1787: URL: https://github.com/apache/iceberg-go/issues/1787
### Apache Iceberg version main (development) ### Please describe the bug 🐞 Right now, update column accepts a write-default and writes it directly into the field without validating it against the column type. - `UnionByName`: does validate the incoming defaults via `validateDefaultValue`, but, - `UpdateColumn`: doesn't Thus, the two entry points are inconsistent as well. What's expected? It should reject a write-default that doesn't match the column type, and clearing a write default works without panicking -- 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]
