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/07/23 18:07:02 UTC
[jira] [Created] (IMPALA-5698) Predicates with constant folded
exprs don't get pushed to Kudu scans
Matthew Jacobs created IMPALA-5698:
--------------------------------------
Summary: 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
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)