Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-47445

Adding new 'Silent' ExplainMode

    XMLWordPrintableJSON

Details

    Description

      While investigating unit test duration we found that org.apache.spark.sql.execution.QueryExecution.explainString () takes approximately 14% time. This method generates the string representation of the execution plan. The string is often used for logging purposes. This is also called for each AQE job so it can save prod execution time too. While SPARK-44485 does exist to help optimize the prod execution time, the main purpose of this PR is to save time during unit testing.

      I've added a silent mode to ExplainMode to try and mitigate this issue.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              victorsunderland Victor Sunderland
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: