nastra commented on code in PR #4594:
URL: https://github.com/apache/iceberg/pull/4594#discussion_r854201243
##########
nessie/src/main/java/org/apache/iceberg/nessie/NessieTableOperations.java:
##########
@@ -156,14 +189,15 @@ protected void doCommit(TableMetadata base, TableMetadata
metadata) {
Branch branch = client.getApi().commitMultipleOperations()
.operation(Operation.Put.of(key, newTable, table))
.commitMeta(NessieUtil.catalogOptions(builder,
catalogOptions).build())
- .branch(client.getRef().getAsBranch())
+ .branch(expectedHead)
Review Comment:
I believe you can now remove the ignore on
https://github.com/apache/iceberg/blob/master/nessie/src/test/java/org/apache/iceberg/nessie/TestNessieCatalog.java#L156-L161
as the test would pass now
--
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]