ErenDursun opened a new issue, #711: URL: https://github.com/apache/iceberg-go/issues/711
### Apache Iceberg version main (development) ### Please describe the bug 🐞 Hi all, I found a bug in the schema update logic. If the outcome of a schema update leads to a schema, that already exists, no new schema is added. But the code still tries to update the schema ID to a new nonexistent ID, instead of using the ID of the already existing schema (line 641): https://github.com/apache/iceberg-go/blob/7cfbf238ee7f6159af86a30f90e78097f2caae8b/table/update_schema.go#L613-L661 I think we should be using the variable `existingSchemaID` instead. -- 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]
