GitHub user JoshRosen opened a pull request:

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

    [SPARK-9045] Fix Scala 2.11 build break in UnsafeExternalRowSorter

    This fixes a compilation break in under Scala 2.11:
    
    ```
    [error] 
/home/jenkins/workspace/Spark-Master-Scala211-Compile/sql/catalyst/src/main/java/org/apache/spark/sql/execution/UnsafeExternalRowSorter.java:135:
 error: <anonymous org.apache.spark.sql.execution.UnsafeExternalRowSorter$1> is 
not abstract and does not override abstract method 
<B>minBy(Function1<InternalRow,B>,Ordering<B>) in TraversableOnce
    [error]       return new AbstractScalaRowIterator() {
    [error]                                             ^
    [error]   where B,A are type-variables:
    [error]     B extends Object declared in method 
<B>minBy(Function1<A,B>,Ordering<B>)
    [error]     A extends Object declared in interface TraversableOnce
    [error] 1 error
    ```
    
    The workaround for this is to make `AbstractScalaRowIterator` into a 
concrete class.

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

    $ git pull https://github.com/JoshRosen/spark SPARK-9045

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

    https://github.com/apache/spark/pull/7405.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 #7405
    
----
commit 577ba6073c93f0f33e596e84182c52122d19ed60
Author: Josh Rosen <[email protected]>
Date:   2015-07-14T21:39:51Z

    [SPARK-9045] Fix Scala 2.11 build break in UnsafeExternalRowSorter.

----


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to