LuciferYang commented on PR #46678:
URL: https://github.com/apache/spark/pull/46678#issuecomment-2126302404

   There are many places in the Spark code where `fs.listStatus(path)` is 
called. Why is it only necessary to probe in these two places and not 
elsewhere? For example:
   
   
https://github.com/apache/spark/blob/e8f58a9c4a641b830c5304b34b876e0cd5d3ed8e/core/src/main/scala/org/apache/spark/util/HadoopFSUtils.scala#L206-L218
   
   
https://github.com/apache/spark/blob/e8f58a9c4a641b830c5304b34b876e0cd5d3ed8e/sql/core/src/main/scala/org/apache/spark/sql/execution/command/CommandUtils.scala#L134-L149


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to