Steve Carlin has uploaded a new patch set (#3). ( http://gerrit.cloudera.org:8080/22031 )
Change subject: IMPALA-13513: Support decode function ...................................................................... IMPALA-13513: Support decode function The decode operator is similar to the case operator. The tricky part for supporting the decode is that some of the opernands are search parameters and some are return parameters. The search parameters all nned to be compatible with each other. And the return parameters need to be compatible with each other as well. Much of the code deals with casting these parameters to compatible types. Change-Id: Ia3b68fda7cfa14799a41428e35d5bbc5984a801a --- M java/calcite-planner/src/main/java/org/apache/impala/calcite/coercenodes/CoerceOperandShuttle.java M java/calcite-planner/src/main/java/org/apache/impala/calcite/functions/FunctionResolver.java M java/calcite-planner/src/main/java/org/apache/impala/calcite/functions/RexCallConverter.java M java/calcite-planner/src/main/java/org/apache/impala/calcite/operators/ImpalaCustomOperatorTable.java A java/calcite-planner/src/main/java/org/apache/impala/calcite/operators/ImpalaDecodeFunction.java 5 files changed, 235 insertions(+), 7 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/31/22031/3 -- To view, visit http://gerrit.cloudera.org:8080/22031 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newpatchset Gerrit-Change-Id: Ia3b68fda7cfa14799a41428e35d5bbc5984a801a Gerrit-Change-Number: 22031 Gerrit-PatchSet: 3 Gerrit-Owner: Steve Carlin <[email protected]>
