Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-11117

Count star doesn't use Parquet stats in VIEWs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Impala 4.0.0
    • None
    • Frontend
    • None
    • ghx-label-6

    Description

      explain select count(*) from tpch_parquet.lineitem
      | 01:AGGREGATE                                                    |
      | |  output: sum_init_zero(tpch_parquet.lineitem.stats: num_rows) |
      
      explain select count(*) from (select * from tpch_parquet.lineitem) s;
      | 01:AGGREGATE                                               |
      | |  output: count(*)                                        |
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            csringhofer Csaba Ringhofer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: