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

[PR] Build: Fix errorprone warning [iceberg]

ajantha-bhat opened a new pull request, #9531:
URL: https://github.com/apache/iceberg/pull/9531

   <img width="1312" alt="Screenshot 2024-01-21 at 8 15 42 AM" src="https://github.com/apache/iceberg/assets/5889404/a49093cd-4901-432e-90ad-58eb855cdf56">
   


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


Re: [PR] Build: Fix errorprone warning [iceberg]

Posted by "ajantha-bhat (via GitHub)" <gi...@apache.org>.
ajantha-bhat closed pull request #9531: Build: Fix errorprone warning
URL: https://github.com/apache/iceberg/pull/9531


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


Re: [PR] Build: Fix errorprone warning [iceberg]

Posted by "ajantha-bhat (via GitHub)" <gi...@apache.org>.
ajantha-bhat commented on code in PR #9531:
URL: https://github.com/apache/iceberg/pull/9531#discussion_r1460708018


##########
baseline.gradle:
##########
@@ -105,6 +105,7 @@ subprojects {
           '-Xep:IntLongMath:ERROR',
           '-Xep:MissingSummary:ERROR',
           '-Xep:AnnotateFormatMethod:ERROR',
+          '-Xep:CollectionUndefinedEquality:ERROR',

Review Comment:
   Enforced this check. So, new usage will report error for compile and the one who adds the code can check and suppress in the same PR. 



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


Re: [PR] Build: Fix errorprone warning [iceberg]

Posted by "nastra (via GitHub)" <gi...@apache.org>.
nastra merged PR #9531:
URL: https://github.com/apache/iceberg/pull/9531


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


Re: [PR] Build: Fix errorprone warning [iceberg]

Posted by "ajantha-bhat (via GitHub)" <gi...@apache.org>.
ajantha-bhat commented on PR #9531:
URL: https://github.com/apache/iceberg/pull/9531#issuecomment-1902623107

   `iceberg-azure` Build failed with unrelated error. 
   
   ```
   > Caused by:
           org.testcontainers.containers.ContainerFetchException: Failed to pull image: mcr.microsoft.com/azure-storage/azurite:3.26.0
   ```
   
   Retriggered the build.


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


Re: [PR] Build: Fix errorprone warning [iceberg]

Posted by "ajantha-bhat (via GitHub)" <gi...@apache.org>.
ajantha-bhat commented on code in PR #9531:
URL: https://github.com/apache/iceberg/pull/9531#discussion_r1460708203


##########
data/src/main/java/org/apache/iceberg/data/BaseDeleteLoader.java:
##########
@@ -151,6 +151,7 @@ public PositionDeleteIndex loadPositionDeletes(
     return PositionDeleteIndexUtil.merge(deletes);
   }
 
+  @SuppressWarnings("CollectionUndefinedEquality")

Review Comment:
   `CharSequenceMap` uses `CharSequenceWrapper` for consistent
    hashing and equals behaviour . The tool cannot figure out that. 



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