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

Show offset value in TakeOrderedAndProjectExec

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.4.0, 3.5.0, 4.0.0
    • 4.0.0
    • SQL

    Description

      Show the offset value in TakeOrderedAndProjectExec.

       

      For example:

       

      explain select * from test_limit_offset order by a  limit 2  offset 1;

      plan

      == Physical Plan ==

      TakeOrderedAndProject(limit=3, orderBy=a#171 ASC NULLS FIRST, output=a#171)

      +- Scan hive spark_catalog.bigdata_qa.test_limit_offset a#171, HiveTableRelation [`spark_catalog`.`test`.`test_limit_offset`, org.apache.hadoop.hive.ql.io.orc.OrcSerde, Data Cols: a#171, Partition Cols: []]

       

      No offset is displayed. If it is displayed, it will be more user-friendly

       

      Attachments

        Issue Links

          Activity

            People

              guihuawen guihuawen
              guihuawen guihuawen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: