maropu commented on a change in pull request #25556: [SPARK-28853][SQL] Support 
conf to organize file partitions by file path
URL: https://github.com/apache/spark/pull/25556#discussion_r316951359
 
 

 ##########
 File path: 
sql/core/src/main/scala/org/apache/spark/sql/execution/DataSourceScanExec.scala
 ##########
 @@ -480,7 +480,16 @@ case class FileSourceScanExec(
           partitionValues = partition.values
         )
       }
-    }.sortBy(_.length)(implicitly[Ordering[Long]].reverse)
+    }
+
+    val orderByFilePath = 
fsRelation.sparkSession.sessionState.conf.orderByFilePathWhenPartitioning
 
 Review comment:
   `conf.orderByFilePathWhenPartitioning`?

----------------------------------------------------------------
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