c-thiel opened a new issue, #12113: URL: https://github.com/apache/iceberg/issues/12113
### Apache Iceberg version main (development) ### Query engine None ### Please describe the bug 🐞 There is one edge case we missed in https://github.com/apache/iceberg/pull/12067 that might lead to a ViewVersion, added in the current build, not beeing retained: 1. Add view version 1 and set current 2. Set retention of versions to 2 3. Add view versions 2 & 3 4. Build The builder should keep all versions (1, 2, 3) because 1 is the current version and must always be retained and neither 2 nor 3 may be discarded as they where added in this build. A second build should retain 1 (current version) and 3 (highest id of the remaining) and discard 2. As discussed CC @nastra ### Willingness to contribute - [ ] I can contribute a fix for this bug independently - [ ] 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]
