Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build: Fix errorprone warning #9531

Merged
merged 1 commit into from
Jan 23, 2024
Merged

Build: Fix errorprone warning #9531

merged 1 commit into from
Jan 23, 2024

Conversation

ajantha-bhat
Copy link
Member

Screenshot 2024-01-21 at 8 15 42 AM

@@ -105,6 +105,7 @@ subprojects {
'-Xep:IntLongMath:ERROR',
'-Xep:MissingSummary:ERROR',
'-Xep:AnnotateFormatMethod:ERROR',
'-Xep:CollectionUndefinedEquality:ERROR',
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@@ -151,6 +151,7 @@ public PositionDeleteIndex loadPositionDeletes(
return PositionDeleteIndexUtil.merge(deletes);
}

@SuppressWarnings("CollectionUndefinedEquality")
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@ajantha-bhat
Copy link
Member Author

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.

@nastra nastra merged commit 18a9ca7 into apache:main Jan 23, 2024
81 of 82 checks passed
geruh pushed a commit to geruh/iceberg that referenced this pull request Jan 26, 2024
adnanhemani pushed a commit to adnanhemani/iceberg that referenced this pull request Jan 30, 2024
devangjhabakh pushed a commit to cdouglas/iceberg that referenced this pull request Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants