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

Do not display the splits parameter in Rang

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.5.1
    • 4.0.0
    • SQL

    Description

      [SQL]

      explain extended select * from range(0, 4);

      plan

      == Parsed Logical Plan ==

      'Project [*]

      +- 'UnresolvedTableValuedFunction [range], [0, 4]

       

      == Analyzed Logical Plan ==

      id: bigint

      Project id#11L

      +- Range (0, 4, step=1, splits=None)

       

      == Optimized Logical Plan ==

      Range (0, 4, step=1, splits=None)

       

      == Physical Plan ==

      *(1) Range (0, 4, step=1, splits=1)

       

      The splits parameter will only be set during the physical execution phase. But it is also displayed in the logical execution phase as None, which is not very user-friendly. Showing the physical execution plan can help users.

       

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              guihuawen guihuawen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: