riemenschneider opened a new issue, #13696:
URL: https://github.com/apache/iceberg/issues/13696
### Apache Iceberg version
1.9.2 (latest release)
### Query engine
None
### Please describe the bug 🐞
When creating an `UpdateSchema` and configuring case-insensitive comparison
of column names, as well as adding multiple columns that differ only in the
case of their names, the schema update will not fail as expected.
```
table.updateSchema()
.caseSensitive(false)
.addColumn("column", Types.IntegerType.get())
.addColumn("COLUMN", Types.IntegerType.get())
.commit();
```
The issue originates from the final validation step when committing the
`UpdateSchema`, which ignores the case sensitivity setting.
### Willingness to contribute
- [ ] I can contribute a fix for this bug independently
- [x] I would be willing to contribute a fix for this bug with guidance from
the Iceberg community
- [ ] I cannot contribute a fix for this bug at this time
--
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]