Aleksandr Efimov created IMPALA-15782:
-----------------------------------------

             Summary: Handle HBO scan history for Hive ACID tables
                 Key: IMPALA-15782
                 URL: https://issues.apache.org/jira/browse/IMPALA-15782
             Project: IMPALA
          Issue Type: Bug
            Reporter: Aleksandr Efimov


Hive ACID plans can combine insert and delete-delta scans, so an individual 
scan's row count may differ from the number of visible table rows. Reusing that 
history as a table row count can give incorrect cardinality estimates.

Define which scan histories can be reused safely and cover tables with insert 
and delete deltas. The Calcite integration currently excludes Hive ACID tables 
for this reason. Quanlong noted that the original planner also needs a 
follow-up.

Review context: https://gerrit.cloudera.org/c/25001/4



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to