-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-25676][FOLLOWUP][BUILD] Fix Scala 2.12 build error #22970
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
Conversation
|
@dbtsai . The PR is ready. Could you review this? |
|
LGTM. Thanks. |
|
Merged into master as the compilation finished. Thanks! |
|
Thank you, @dbtsai ! |
|
Test build #98578 has finished for PR 22970 at commit
|
|
The failures are irrelevant to this PR because this PR only updates benchmark code. |
| benchmark.addCase(s"split threshold $n", numIters = 5) { iter => | ||
| withSQLConf(SQLConf.CODEGEN_METHOD_SPLIT_THRESHOLD.key -> n) { | ||
| df.selectExpr(columns: _*).foreach(identity(_)) | ||
| df.selectExpr(columns: _*).foreach((x => x): Row => Unit) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shall we use foreach(_ => ())?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure. I'll try to make another follow-ups with the benchmark result.
## What changes were proposed in this pull request? #22970 fixed Scala 2.12 build error, and this PR updates the function according to the review comments. ## How was this patch tested? This is also manually tested with Scala 2.12 build. Closes #22978 from dongjoon-hyun/SPARK-25676-3. Authored-by: Dongjoon Hyun <[email protected]> Signed-off-by: Wenchen Fan <[email protected]>
## What changes were proposed in this pull request? This PR fixes the Scala-2.12 build. ## How was this patch tested? Manual build with Scala-2.12 profile. Closes apache#22970 from dongjoon-hyun/SPARK-25676-2.12. Authored-by: Dongjoon Hyun <[email protected]> Signed-off-by: DB Tsai <[email protected]>
## What changes were proposed in this pull request? apache#22970 fixed Scala 2.12 build error, and this PR updates the function according to the review comments. ## How was this patch tested? This is also manually tested with Scala 2.12 build. Closes apache#22978 from dongjoon-hyun/SPARK-25676-3. Authored-by: Dongjoon Hyun <[email protected]> Signed-off-by: Wenchen Fan <[email protected]>
What changes were proposed in this pull request?
This PR fixes the Scala-2.12 build.
How was this patch tested?
Manual build with Scala-2.12 profile.