impala-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "yu feng (Code Review)" <ger...@cloudera.org>
Subject [Impala-ASF-CR] IMPALA-5016: Simplify coalesce() in SimplifyConditionalsRule and do static partition pruning with coalesce() function.
Date Thu, 25 May 2017 10:08:36 GMT
yu feng has uploaded a new change for review.

  http://gerrit.cloudera.org:8080/6990

Change subject: IMPALA-5016: Simplify coalesce() in SimplifyConditionalsRule and do static
partition pruning with coalesce() function.
......................................................................

IMPALA-5016: Simplify coalesce() in SimplifyConditionalsRule and do static partition pruning
with coalesce() function.

rewrite coalesce() with head-most nulls or constant values.
add rewrite rules based on partition metadata.
try to apply rules for coalesce() in hdfs partition purning.

Testing:
add some unit tests for SimplifyConditionalsRule with coalesce() function.

Change-Id: I0b57267ce68ef882d73120b5054603b72867c7f5
---
M fe/src/main/java/org/apache/impala/planner/HdfsPartitionPruner.java
A fe/src/main/java/org/apache/impala/rewrite/CoalescePartitionMetadataRule.java
A fe/src/main/java/org/apache/impala/rewrite/PartitionMetadataRule.java
M fe/src/main/java/org/apache/impala/rewrite/SimplifyConditionalsRule.java
M fe/src/test/java/org/apache/impala/analysis/ExprRewriteRulesTest.java
5 files changed, 210 insertions(+), 17 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/90/6990/1
-- 
To view, visit http://gerrit.cloudera.org:8080/6990
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0b57267ce68ef882d73120b5054603b72867c7f5
Gerrit-PatchSet: 1
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-Owner: yu feng <hzfengyu@corp.netease.com>

Mime
View raw message