hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chinna Rao Lalam <>
Subject Review Request 55036: Scale is greater than decimal values trunc(d, s) returns wrong results
Date Mon, 26 Dec 2016 09:51:28 GMT

This is an automatically generated e-mail. To reply, visit:

Review request for hive and Ashutosh Chauhan.

Repository: hive-git


When scale arguments is greater than the decimal values count, it is returning wrong results.
Now returned the actuval value when scale is greater than decimal values count, when scale
is positive. Added few more negative tests also.


  ql/src/java/org/apache/hadoop/hive/ql/udf/generic/ a95248f 
  ql/src/test/queries/clientpositive/udf_trunc_number.q b3fd9e5 
  ql/src/test/results/clientpositive/udf_trunc_number.q.out dfc9d70 



All tests are passed.


Chinna Rao Lalam

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message