ajantha-bhat commented on code in PR #6789: URL: https://github.com/apache/iceberg/pull/6789#discussion_r1138155762
########## nessie/src/main/java/org/apache/iceberg/nessie/UpdateableReference.java: ########## @@ -71,6 +73,15 @@ public Reference getReference() { return reference; } + public Reference getReferenceForApiRequest() { Review Comment: True that we can just pass the reference name for this request. But in some cases, caller has to pass the hash (when use reference + hash is set). So, to avoid having a check in all the callers (whether need to pass hash or not). I am passing like this. -- 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: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org