Github user jaceklaskowski commented on a diff in the pull request:

    https://github.com/apache/spark/pull/21815#discussion_r203665187
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/DataSourceScanExec.scala 
---
    @@ -199,7 +199,7 @@ case class FileSourceScanExec(
         ret
       }
     
    -  override val (outputPartitioning, outputOrdering): (Partitioning, 
Seq[SortOrder]) = {
    +  override lazy val (outputPartitioning, outputOrdering): (Partitioning, 
Seq[SortOrder]) = {
    --- End diff --
    
    That happens on the driver so no need for the `lazy` here.


---

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

Reply via email to