You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Matthew Jacobs (JIRA)" <ji...@apache.org> on 2017/08/19 16:49:01 UTC

[jira] [Resolved] (IMPALA-5698) Predicates with constant folded exprs don't get pushed to Kudu scans

     [ https://issues.apache.org/jira/browse/IMPALA-5698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthew Jacobs resolved IMPALA-5698.
------------------------------------
       Resolution: Won't Fix
    Fix Version/s: Product Backlog

> Predicates with constant folded exprs don't get pushed to Kudu scans
> --------------------------------------------------------------------
>
>                 Key: IMPALA-5698
>                 URL: https://issues.apache.org/jira/browse/IMPALA-5698
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Frontend
>    Affects Versions: Impala 2.8.0
>            Reporter: Matthew Jacobs
>              Labels: kudu
>             Fix For: Product Backlog
>
>
> Predicates with expressions that get constant folded don't get pushed to Kudu scans even though they could be. E.g.:
> {code}
> [localhost:21000] > explain select * from functional_kudu.alltypestiny where bigint_col < 1000 / 100;
> Query: explain select * from functional_kudu.alltypestiny where bigint_col < 1000 / 100
> +---------------------------------------------+
> | Explain String                              |
> +---------------------------------------------+
> | Per-Host Resource Reservation: Memory=0B    |
> | Per-Host Resource Estimates: Memory=10.00MB |
> | Codegen disabled by planner                 |
> |                                             |
> | PLAN-ROOT SINK                              |
> | |                                           |
> | 00:SCAN KUDU [functional_kudu.alltypestiny] |
> |    predicates: bigint_col < 10              |
> +---------------------------------------------+
> Fetched 8 row(s) in 0.08s
> [localhost:21000] > explain select * from functional_kudu.alltypestiny where bigint_col < 10;
> Query: explain select * from functional_kudu.alltypestiny where bigint_col < 10
> +---------------------------------------------+
> | Explain String                              |
> +---------------------------------------------+
> | Per-Host Resource Reservation: Memory=0B    |
> | Per-Host Resource Estimates: Memory=10.00MB |
> | Codegen disabled by planner                 |
> |                                             |
> | PLAN-ROOT SINK                              |
> | |                                           |
> | 00:SCAN KUDU [functional_kudu.alltypestiny] |
> |    kudu predicates: bigint_col < 10         |
> +---------------------------------------------+
> Fetched 8 row(s) in 0.05s
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)