Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-11160 Auto-gather column stats
  3. HIVE-18032

Stats: Consolidate stat state for limit 0 and where false

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      query (from llap_nullscan.q):

      explain
       select * from (select key from src_orc where false) a left outer join (select key from src_orc limit 0)
       b on a.key=b.key
      

      currently:

      • limit 0 produces
        Statistics: Num rows: 0 Data size: 0 Basic stats: COMPLETE Column stats: NONE
      • where false
        Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column stats: NONE

      Attachments

        Activity

          People

            kgyrtkirk Zoltan Haindrich
            kgyrtkirk Zoltan Haindrich
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: