Dimitris Tsirogiannis has uploaded a new change for review. http://gerrit.cloudera.org:8080/3147
Change subject: IMPALA-3574: Exception when filter target contains TupleIsNull predicate ...................................................................... IMPALA-3574: Exception when filter target contains TupleIsNull predicate This commit fixes an issue where an IllegalStateException is thrown while generating runtime filters if a target expr of a join conjunct is wrapped in a IF(TupleIsNull, NULL, e) expr. As this is not a valid expr to be assigned to a scan node (target of a runtime filter), we unwrap these exprs and replace exprs of the form IF(TupleIsNull, NULL, e) 'e' while producing the targer exprs for runtime filters. The original expr of the join conjunct is not modified. Change-Id: I2e3e207b4c8522283a1cd0d14be83d42eba58f5a --- M fe/src/main/java/com/cloudera/impala/analysis/TupleIsNullPredicate.java M fe/src/main/java/com/cloudera/impala/planner/RuntimeFilterGenerator.java M testdata/workloads/functional-planner/queries/PlannerTest/runtime-filter-propagation.test 3 files changed, 54 insertions(+), 1 deletion(-) git pull ssh://gerrit.cloudera.org:29418/Impala refs/changes/47/3147/1 -- To view, visit http://gerrit.cloudera.org:8080/3147 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I2e3e207b4c8522283a1cd0d14be83d42eba58f5a Gerrit-PatchSet: 1 Gerrit-Project: Impala Gerrit-Branch: cdh5-2.6.0_5.8.0 Gerrit-Owner: Dimitris Tsirogiannis <[email protected]>
