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

[jira] [Created] (IMPALA-11496) Push down date literals to Kudu scanner

Csaba Ringhofer created IMPALA-11496:
----------------------------------------

             Summary: Push down date literals to Kudu scanner
                 Key: IMPALA-11496
                 URL: https://issues.apache.org/jira/browse/IMPALA-11496
             Project: IMPALA
          Issue Type: Improvement
          Components: Backend, Frontend
            Reporter: Csaba Ringhofer


To reproduce:
 explain select * from functional_kudu.date_tbl where date_col = DATE "1970-01-01";

00:SCAN KUDU [functional_kudu.date_tbl]
   predicates: date_col = DATE '1970-01-01'

We should see "kudu predicates" instead of "predicates" if it was pushed down.

date is missing from the following switch case, so FE doesn't create kudu predicates for them:
https://github.com/apache/impala/blob/ba4cb95b6251911fa9e057cea1cb37958d339fed/fe/src/main/java/org/apache/impala/planner/KuduScanNode.java#L524

Not sure whether backend changes are also needed



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