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

Improve StatsOptimizer to deal with query with additional constant columns

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: