Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-11937

Improve StatsOptimizer to deal with query with additional constant columns

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • None
    • None

    Description

      Right now StatsOptimizer can deal with query such as "select count(1) from src" by directly looking into the metastore. However, it can not deal with "select '1' as one, count(1) from src" which has an additional constant column. We may improve it.

      Attachments

        1. HIVE-11937.01.patch
          16 kB
          Pengcheng Xiong
        2. HIVE-11937.02.patch
          37 kB
          Pengcheng Xiong

        Activity

          People

            pxiong Pengcheng Xiong
            pxiong Pengcheng Xiong
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: