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 "Gabor Kaszab (Jira)" <ji...@apache.org> on 2023/04/24 12:33:00 UTC

[jira] [Created] (IMPALA-12088) Make the predicate pushdown skipping improvement work with the count(*) query rewrite improvement

Gabor Kaszab created IMPALA-12088:
-------------------------------------

             Summary: Make the predicate pushdown skipping improvement work with the count(*) query rewrite improvement
                 Key: IMPALA-12088
                 URL: https://issues.apache.org/jira/browse/IMPALA-12088
             Project: IMPALA
          Issue Type: Sub-task
          Components: Frontend
            Reporter: Gabor Kaszab


https://issues.apache.org/jira/browse/IMPALA-11802 introduced a query rewrite for count(*) queries on Iceberg tables as a performance improvement. Later on https://issues.apache.org/jira/browse/IMPALA-11701 introduced the capability to skip pushing down predicates to Impala scanners when Iceberg applied it and won't filter any further rows.

This ticket is to make a connection between these 2 improvements: When we skip pushing down predicates and there is no more predicates to push down and this is a count(*) query then let's do the query rewrite from IMPALA-11802.
One difficulty implementing this is that the query rewrite is done in the analysis phase while the predicate pushdown decision is made in the planner phase so might be a bit more complicated than to re-use the rewrite code.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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