iceberg: Build: Fix errorprone warnings

Apache Iceberg version

None

Query engine

None

Please describe the bug ๐Ÿž

./gradlew clean build -x test -x integrationTest --no-build-cache

Default profile build with above command results in few errorprone warnings.

Image

Good to keep the build green.

Willingness to contribute

  • I can contribute a fix for this bug independently
  • I would be willing to contribute a fix for this bug with guidance from the Iceberg community
  • I cannot contribute a fix for this bug at this time

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 15 (13 by maintainers)

Most upvoted comments

Hi @ajantha-bhat ,

Iโ€™ve submitted a https://github.com/apache/iceberg/pull/13447 to address the new error-prone warning in the build process. Could you please take a look when you have a chance? Iโ€™d appreciate your feedback. Thank you!

DangerousParallelStreamUsage in BigQueryMetastoreClientImpl#491: Link to code Context: I noticed that .parallel() is mostly used in test files throughout the codebase. The ParallelIterable class seems not designed for this situation. Question: Should I simply remove the .parallel() call to align with the project patterns?

@talatuyarer was the .parallel() on the Stream added on purpose in BigQueryMetastoreClientImpl or can we remove it?

Hi @CuteChuanChuan . I initially intended to work on this issue, but Iโ€™ve been caught up with other commitments and havenโ€™t had the chance to get to it.

Please feel free to take it on and thanks a lot for picking it up.

  • I can contribute a fix for this bug independently Hi, Iโ€™d like to work on this issue โ€” it seems like a great fit for my first contribution.