Github user cloud-fan commented on a diff in the pull request:

    https://github.com/apache/spark/pull/20560#discussion_r180716049
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/columnar/InMemoryRelation.scala
 ---
    @@ -169,4 +169,6 @@ case class InMemoryRelation(
     
       override protected def otherCopyArgs: Seq[AnyRef] =
         Seq(_cachedColumnBuffers, sizeInBytesStats, statsOfPlanToCache)
    +
    +  override def outputOrdering: Seq[SortOrder] = child.outputOrdering
    --- End diff --
    
    in SparkPlan
    ```
    /** Specifies how data is ordered in each partition. */
    def outputOrdering: Seq[SortOrder] = Nil
    ```
    
    So we can't do this


---

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

Reply via email to