GitHub user yy2016 opened a pull request:

    https://github.com/apache/spark/pull/11795

    [SPARK-12719][HOTFIX] Fix compilation against Scala 2.10

    ## 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 {
        ```
    Changed OneRowRelation to case class
    
    ## How was this patch tested?
    
    Compilation against Scala 2.10

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/yy2016/spark master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/11795.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #11795
    
----
commit 018c6818762402445d408f48c30f5a2d0a97bf5e
Author: tedyu <yuzhih...@gmail.com>
Date:   2016-03-17T16:25:52Z

    [SPARK-12719][HOTFIX] Fix compilation against Scala 2.10

commit e565c62aa825745a663ffeb659db33b90d1ddbd7
Author: tedyu <yuzhih...@gmail.com>
Date:   2016-03-17T21:11:23Z

    Change OneRowRelation to class

commit dad73b7ad3edfa311bc48cbe05089d9f9863adac
Author: tedyu <yuzhih...@gmail.com>
Date:   2016-03-17T21:23:56Z

    Use OneRowRelation ctor properly

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to