nastra opened a new pull request, #14434:
URL: https://github.com/apache/iceberg/pull/14434

   Without this fix the test would fail with
   ```
   Cannot set current version to unknown version: 3
   java.lang.IllegalArgumentException: Cannot set current version to unknown 
version: 3
        at 
org.apache.iceberg.relocated.com.google.common.base.Preconditions.checkArgument(Preconditions.java:190)
        at 
org.apache.iceberg.view.ViewMetadata$Builder.setCurrentVersionId(ViewMetadata.java:241)
        at 
org.apache.iceberg.view.TestViewMetadata.deduplicatingViewVersionByIdAndAssigningSchemaId(TestViewMetadata.java:991)
        at java.base/java.lang.reflect.Method.invoke(Method.java:568)
   ```
   because the the `ViewVersion` was assigned a new ID and later when we tried 
to re-assign the schema ID, we used the wrong `ViewVersion` instance (the one 
where the version ID was not re-assigned).


-- 
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]

Reply via email to