You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Zhenhua Wang (Jira)" <ji...@apache.org> on 2020/09/03 09:55:00 UTC

[jira] [Created] (SPARK-32786) Improve performance for some slow DPP tests

Zhenhua Wang created SPARK-32786:
------------------------------------

             Summary: Improve performance for some slow DPP tests
                 Key: SPARK-32786
                 URL: https://issues.apache.org/jira/browse/SPARK-32786
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 3.1.0
            Reporter: Zhenhua Wang


The whole `DynamicPartitionPruningSuite` takes about 2 min in my laptop (either AE on or off). The slowest tests areĀ `test("simple inner join triggers DPP with mock-up tables")` and `test("cleanup any DPP filter that isn't pushed down due to expression id clashes")`, which totally takes about 1 min.

We can reuse existing test tables or use smaller tables to reduce the cost. After that, the two tests takes only about 1 sec in total, leading to 2x speedup for the suite.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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