Zoltán Borók-Nagy created IMPALA-15828:
------------------------------------------

             Summary: Queries with pushed down predicates fail on Iceberg REST 
tables with server-side scan planning
                 Key: IMPALA-15828
                 URL: https://issues.apache.org/jira/browse/IMPALA-15828
             Project: IMPALA
          Issue Type: Bug
          Components: Frontend
            Reporter: Zoltán Borók-Nagy
            Assignee: Zoltán Borók-Nagy


With {{scan-planning-mode=server}} the Iceberg REST client returns a 
RESTTableScan whose planFiles() doesn't create a ScanReport, so the 
{{Preconditions.checkState()}} on the scan metrics in 
IcebergScanPlanner.createIcebergScanPlan() throws IllegalStateException for 
every query that pushes down a predicate. A server may also leave out the 
residual filter, which Impala reads as alwaysTrue and then drops the pushed 
conjuncts.

On master only partition predicates and time travel trigger this, IMPALA-15629 
makes it happen for any predicate.

Fix: allow a missing ScanReport, and keep the conjuncts if the residual is 
missing.



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

Reply via email to