Skip to content

Conversation

@kbendick
Copy link
Contributor

While working on the cherry-picking for creating the initial release candidate for 1.12.1, while trying to cherry-pick this PR, #3368, a checkstyle error fails the build.

> Task :iceberg-spark:checkstyleTest
[ant:checkstyle] [ERROR] /Users/kylebendickson/repos/iceberg-kyle/spark/src/test/java/org/apache/iceberg/spark/source/TestIcebergSpark.java:150:36: Unnecessary parentheses around expression. [UnnecessaryParentheses]

For some reason, this doesn't come up during the current build / CI, but I need to apply this hotfix to be able to cherry-pick the above PR as cleanly as possible into the 1.12.x branch (and I have a feeling that this might be hinting at some underlying CI tests that aren't being run entirely, for example the Spark v3.2 tests possibly).

cc @rdblue

@izchen
Copy link
Contributor

izchen commented Oct 27, 2021

Sorry there is an extra parenthesis here. Thanks, @kbendick

@kbendick
Copy link
Contributor Author

Sorry there is an extra parenthesis here. Thanks, @kbendick

No worries @izchen! I don't think on the present CI it causes any issue.

It's just when I cherry-pick it to a branch that has the checkstyle set up before the recent CI refactor that it causes me this issue. So it's not really something you should have noticed as the test suite didn't complain. 👍

@rdblue
Copy link
Contributor

rdblue commented Oct 31, 2021

@kbendick, did you intend for this to go into the 0.12.x branch? It's against master.

@rdblue rdblue merged commit b56d3cc into apache:master Oct 31, 2021
@rdblue
Copy link
Contributor

rdblue commented Oct 31, 2021

I see the comment over on #3385 so I'm merging this.

@kbendick kbendick deleted the hotfix-fix-unnecessary-parentheses branch October 31, 2021 18:57
@kbendick
Copy link
Contributor Author

I see the comment over on #3385 so I'm merging this.

Thank you!

kbendick added a commit to kbendick/iceberg that referenced this pull request Nov 1, 2021
kbendick added a commit to kbendick/iceberg that referenced this pull request Nov 1, 2021
izchen pushed a commit to izchen/iceberg that referenced this pull request Dec 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants