Tim Armstrong has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/16905 )

Change subject: IMPALA-10406: Query with analytic functions doesn't need to 
materialize the predicates bounded to kudu
......................................................................

IMPALA-10406: Query with analytic functions doesn't need to materialize the 
predicates bounded to kudu

Before when query with analytic functions will materialize the
unassigned conjuncts.
But for the predicates that can be evaluated by kudu don't need to
materialize.

This optimization can reduce the amount of data to exchange and sort.

Testing:
 - Add planner test in analytic-fns.test

Change-Id: Iba8371eff6ae1bcffd51b44843175c52f2127e46
Reviewed-on: http://gerrit.cloudera.org:8080/16905
Tested-by: Impala Public Jenkins <[email protected]>
Reviewed-by: Tim Armstrong <[email protected]>
---
M fe/src/main/java/org/apache/impala/analysis/SelectStmt.java
M testdata/workloads/functional-planner/queries/PlannerTest/analytic-fns.test
2 files changed, 135 insertions(+), 0 deletions(-)

Approvals:
  Impala Public Jenkins: Verified
  Tim Armstrong: Looks good to me, approved

--
To view, visit http://gerrit.cloudera.org:8080/16905
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Iba8371eff6ae1bcffd51b44843175c52f2127e46
Gerrit-Change-Number: 16905
Gerrit-PatchSet: 3
Gerrit-Owner: Xianqing He <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Tim Armstrong <[email protected]>
Gerrit-Reviewer: Xianqing He <[email protected]>

Reply via email to