You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "nastra (via GitHub)" <gi...@apache.org> on 2024/08/09 06:21:01 UTC

Re: [PR] Core, Flink: Fix build warnings [iceberg]

nastra commented on code in PR #10899:
URL: https://github.com/apache/iceberg/pull/10899#discussion_r1710826860


##########
core/src/main/java/org/apache/iceberg/view/BaseViewOperations.java:
##########
@@ -104,7 +104,7 @@ public ViewMetadata refresh() {
   @Override
   public void commit(ViewMetadata base, ViewMetadata metadata) {
     // if the metadata is already out of date, reject it
-    if (base != current()) {
+    if (!current().equals(base)) {

Review Comment:
   @nk1506 are you going to add a suppresswarning for this case?



-- 
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-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org