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

Web UI WholeStageCodegen duration is 0 ms

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.2.0
    • None
    • SQL
    • None
    • spark local mode

    Description

      In the Web UI when I’m running a query with limit clause, the duration of WholeStageCodegen operator is always 0 ms.
      the corresponding feature is SPARK-13916, commitid: 76958d820f57d23e3cbb5b7205c680a5daea0499 . durationMs update only when we iterate the last row of partition, but when we only iterate a few rows, the duration will always be 0 ms

      below  code will repetition the issue:

      spark.sql("use tpcds1g")
      spark.sql("""
      select i_item_sk from item
      limit 100
      """).collect

      Attachments

        1. 0ms.jpg
          82 kB
          chengxingfu

        Activity

          People

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

            Dates

              Created:
              Updated: