-
Notifications
You must be signed in to change notification settings - Fork 28.4k
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
[SPARK-12719][HOTFIX] Fix compilation against Scala 2.10 #11787
Conversation
Can one of the admins verify this patch? |
You are using a wrong JIRA number. |
Why not just increase the pattern match analysis budget? |
This was the first build which failed: There was only one checkin: |
bq. Why not just increase the pattern match analysis budget There is a chance the new budget gets exceeded in the future when more cases are added. |
Thanks. I am merging this to master. |
Just reverted it because it breaks the build. |
I wonder why OneRowRelation isn't covered by the following import ?
|
@yy2016 |
@liancheng |
I agree with @JoshRosen. Was just answering your question above :) |
## What changes were proposed in this pull request? Compilation against Scala 2.10 fails with: ``` [error] [warn] /home/jenkins/workspace/spark-master-compile-sbt-scala-2.10/sql/hive/src/main/scala/org/apache/spark/sql/hive/SQLBuilder.scala:483: Cannot check match for unreachability. [error] (The analysis required more space than allowed. Please try with scalac -Dscalac.patmat.analysisBudget=512 or -Dscalac.patmat.analysisBudget=off.) [error] [warn] private def addSubqueryIfNeeded(plan: LogicalPlan): LogicalPlan = plan match { ``` ## How was this patch tested? Compilation against Scala 2.10 Author: tedyu <[email protected]> Closes apache#11787 from yy2016/master.
What changes were proposed in this pull request?
Compilation against Scala 2.10 fails with:
How was this patch tested?
Compilation against Scala 2.10