srowen commented on issue #23986: [SPARK-27070] Fix performance bug in 
DefaultPartitionCoalescer
URL: https://github.com/apache/spark/pull/23986#issuecomment-473578962
 
 
   @fitermay I guess it has to be more explicitly constructed as an `Ordering`?
   ```
   [error] 
/home/jenkins/workspace/spark-master-test-maven-hadoop-2.7-ubuntu-scala-2.11/core/src/main/scala/org/apache/spark/rdd/CoalescedRDD.scala:161:
 type mismatch;
   [error]  found   : (org.apache.spark.rdd.PartitionGroup, 
org.apache.spark.rdd.PartitionGroup) => Int
   [error]  required: Ordering[org.apache.spark.rdd.PartitionGroup]
   [error]     (o1: PartitionGroup, o2: PartitionGroup) =>
   [error]                                              ^
   [info] (org.apache.spark.rdd.PartitionGroup, 
org.apache.spark.rdd.PartitionGroup) => Int <: 
Ordering[org.apache.spark.rdd.PartitionGroup]?
   [info] false
   [error] one error found
   [error] Compile failed at Mar 14, 2019 6:17:42 PM [22.876s]
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to