XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.2.0
    • 3.2.0
    • SQL
    • None

    Description

      spark.sql("set spark.sql.cbo.enabled=true")
      spark.sql("select id from range(100)").explain("cost")
      

      Current:

      == Optimized Logical Plan ==
      Range (0, 100, step=1, splits=None), Statistics(sizeInBytes=800.0 B)
      

      Expected:

      == Optimized Logical Plan ==
      Range (0, 100, step=1, splits=None), Statistics(sizeInBytes=800.0 B, rowCount=100)
      

      Attachments

        Activity

          People

            yumwang Yuming Wang
            yumwang Yuming Wang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: