Michael Ho has uploaded a new change for review. http://gerrit.cloudera.org:8080/6038
Change subject: IMPALA-4821: Update AVG() for DECIMAL_V2 ...................................................................... IMPALA-4821: Update AVG() for DECIMAL_V2 This change implements the DECIMAL_V2's behavior for AVG(). The major differences are: 1. output type's scale has a minimum of 6 2. precision will be augmented if the scale is adjusted. Change-Id: I28f5ef0370938440eb5b1c6d29b2f24e6f88499f --- M be/src/exprs/aggregate-functions-ir.cc M be/src/exprs/expr-test.cc M fe/src/main/java/org/apache/impala/analysis/FunctionCallExpr.java M testdata/workloads/functional-query/queries/QueryTest/decimal-exprs.test M testdata/workloads/functional-query/queries/QueryTest/decimal.test 5 files changed, 216 insertions(+), 66 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/38/6038/1 -- To view, visit http://gerrit.cloudera.org:8080/6038 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I28f5ef0370938440eb5b1c6d29b2f24e6f88499f Gerrit-PatchSet: 1 Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-Owner: Michael Ho <[email protected]>
