Thomas Tauber-Marshall has uploaded a new change for review. http://gerrit.cloudera.org:8080/5585
Change subject: IMPALA-1861: Simplify constant conditionals ...................................................................... IMPALA-1861: Simplify constant conditionals When there are conditionals with constant values of TRUE or FALSE we can simplify them during analysis using the ExprRewriter. This patch covers IF, ||, &&, CASE, and DECODE. Change-Id: Id70aaf9fd99f64bd98175b7e2dbba28f350e7d3b --- M fe/src/main/java/org/apache/impala/analysis/AnalysisContext.java M fe/src/main/java/org/apache/impala/analysis/CaseWhenClause.java M fe/src/test/java/org/apache/impala/analysis/ExprRewriteRulesTest.java M testdata/workloads/functional-planner/queries/PlannerTest/empty.test 4 files changed, 57 insertions(+), 12 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/85/5585/1 -- To view, visit http://gerrit.cloudera.org:8080/5585 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Id70aaf9fd99f64bd98175b7e2dbba28f350e7d3b Gerrit-PatchSet: 1 Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-Owner: Thomas Tauber-Marshall <[email protected]>
