You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Csaba Ringhofer (Jira)" <ji...@apache.org> on 2022/02/11 13:48:00 UTC

[jira] [Updated] (IMPALA-11117) Count star doesn't use Parquet stats in VIEWs

     [ https://issues.apache.org/jira/browse/IMPALA-11117?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Csaba Ringhofer updated IMPALA-11117:
-------------------------------------
    Description: 
explain select count(*) from tpch_parquet.lineitem
{code}
| 01:AGGREGATE                                                    |
| |  output: sum_init_zero(tpch_parquet.lineitem.stats: num_rows) |
{code}

{code}
explain select count(*) from (select * from tpch_parquet.lineitem) s;
 | 01:AGGREGATE                                               |
| |  output: count(*)                                        |
{code}

  was:
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(*)                                        |



> Count star doesn't use Parquet stats in VIEWs
> ---------------------------------------------
>
>                 Key: IMPALA-11117
>                 URL: https://issues.apache.org/jira/browse/IMPALA-11117
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Frontend
>    Affects Versions: Impala 4.0.0
>            Reporter: Csaba Ringhofer
>            Priority: Major
>
> explain select count(*) from tpch_parquet.lineitem
> {code}
> | 01:AGGREGATE                                                    |
> | |  output: sum_init_zero(tpch_parquet.lineitem.stats: num_rows) |
> {code}
> {code}
> explain select count(*) from (select * from tpch_parquet.lineitem) s;
>  | 01:AGGREGATE                                               |
> | |  output: count(*)                                        |
> {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org