Josh Rosen created SPARK-9045:
---------------------------------

             Summary: Fix Scala 2.11 build break due in UnsafeExternalRowSorter
                 Key: SPARK-9045
                 URL: https://issues.apache.org/jira/browse/SPARK-9045
             Project: Spark
          Issue Type: Bug
          Components: SQL
            Reporter: Josh Rosen
            Assignee: Josh Rosen
            Priority: Blocker


{code}
[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
[error] Compile failed at Jul 14, 2015 2:26:25 PM [26.443s]
{code}

It turns out that this can be fixed by making AbstractScalaRowIterator into a 
concrete class instead of an abstract class.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to