You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "ZiyueGuan (Jira)" <ji...@apache.org> on 2022/08/12 11:10:00 UTC

[jira] [Created] (SPARK-40058) Avoid filter twice in HadoopFSUtils

ZiyueGuan created SPARK-40058:
---------------------------------

             Summary: Avoid filter twice in HadoopFSUtils
                 Key: SPARK-40058
                 URL: https://issues.apache.org/jira/browse/SPARK-40058
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 3.2.2
            Reporter: ZiyueGuan


In HadoopFSUtils, listLeafFiles will apply filter more than once in recursive method call. This may waste more time when filter logic is heavy. Would like to have a refactor on this.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org