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)

Reply via email to