Steve Carlin has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/24696 )

Change subject: IMPALA-15264: DCEIL returns wrong datatype.
......................................................................

IMPALA-15264: DCEIL returns wrong datatype.

DCEIL should always return a decimal datatype when its operand
is a decimal, , similar to DFLOOR.
Before this commit, dceil(double) was returning a double.

Testing: added test to exprs.test

Change-Id: I42be103dcf206c5af467fc2bd08cfdd5c62fe7c2
Reviewed-on: http://gerrit.cloudera.org:8080/24696
Reviewed-by: Joe McDonnell <[email protected]>
Reviewed-by: Michael Smith <[email protected]>
Tested-by: Steve Carlin <[email protected]>
---
M common/function-registry/impala_functions.py
M fe/src/main/java/org/apache/impala/analysis/FunctionCallExpr.java
M testdata/workloads/functional-query/queries/QueryTest/exprs.test
3 files changed, 9 insertions(+), 1 deletion(-)

Approvals:
  Joe McDonnell: Looks good to me, but someone else must approve
  Michael Smith: Looks good to me, approved
  Steve Carlin: Verified

--
To view, visit http://gerrit.cloudera.org:8080/24696
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I42be103dcf206c5af467fc2bd08cfdd5c62fe7c2
Gerrit-Change-Number: 24696
Gerrit-PatchSet: 4
Gerrit-Owner: Steve Carlin <[email protected]>
Gerrit-Reviewer: Aman Sinha <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Joe McDonnell <[email protected]>
Gerrit-Reviewer: Michael Smith <[email protected]>
Gerrit-Reviewer: Steve Carlin <[email protected]>

Reply via email to