rdblue commented on a change in pull request #2664:
URL: https://github.com/apache/iceberg/pull/2664#discussion_r648771747
##########
File path: nessie/src/main/java/org/apache/iceberg/nessie/NessieCatalog.java
##########
@@ -137,7 +138,11 @@ protected TableOperations newTableOps(TableIdentifier
tableIdentifier) {
if (pti.reference() != null) {
newReference = loadReference(pti.reference());
}
- return new NessieTableOperations(NessieUtil.toKey(pti.tableIdentifier()),
newReference, client, fileIO);
+ NessieTableOperations tableOperations =
+ new NessieTableOperations(NessieUtil.toKey(pti.tableIdentifier()),
newReference, client, fileIO);
+ // TODO: is there a better way to pass the catalog options to the
TableOperations than this?
Review comment:
Add it to the constructor? The constructor is public, but I don't think
there is a need for it to be public. You could create a package-private one
that is called here instead. (Maybe @rymurr can also comment)
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]