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

Allow extensions to log extended information in explain plan

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.0.0
    • 4.0.0
    • SQL

    Description

      With session extensions, Spark planning can be extended to apply additional rules and modify the execution plan. If an extension replaces a node in the plan, the new node will be displayed in the plan. However, it is sometimes useful for extensions provided extended information to the end user to explain the impact of the extension. For instance an extension may automatically enable/disable some feature that it provides and can provide this extended information in the plan. 
      The proposal is to optionally turn on extended plan information from extensions. Extensions can add additional planning information via a new interface that internally uses a new TreeNodeTag, say 'explainPlan'.

      Attachments

        Issue Links

          Activity

            People

              parthc Parth Chandra
              parthc Parth Chandra
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: