wangshisan commented on a change in pull request #25869: [SPARK-29189][SQL] Add 
an option to ignore block locations when listing file
URL: https://github.com/apache/spark/pull/25869#discussion_r327402827
 
 

 ##########
 File path: 
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala
 ##########
 @@ -832,6 +832,14 @@ object SQLConf {
       .intConf
       .createWithDefault(10000)
 
+  val IGNORE_DATA_LOCALITY =
+    buildConf("spark.sql.sources.ignore.datalocality")
+      .doc("If it is set to true, Spark will not fetch the block locations for 
each file on " +
+        "listing files, which will greatly accelerate the list file operation, 
while loss " +
 
 Review comment:
   Resolved.

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