hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xuefu Zhang" <>
Subject Review Request 16008: HIVE-5872: Make UDAFs such as GenericUDAFSum report accurate precision/scale for decimal types
Date Wed, 04 Dec 2013 19:31:20 GMT

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

Review request for hive.

Bugs: HIVE-5872

Repository: hive-git


Main changes: avg() function will return a decimal type with 4 more decimal digits than the
input (in line with MySQL).
              sum() function will return a decimal type with 10 more integer digits than the
input (can accommodate at least 10b rows).


  ql/src/java/org/apache/hadoop/hive/ql/udf/generic/ fc9eedb 
  ql/src/java/org/apache/hadoop/hive/ql/udf/generic/ 69d9087 
  ql/src/test/queries/clientpositive/decimal_precision.q 1b15282 
  ql/src/test/queries/clientpositive/decimal_udf.q caa7428 
  ql/src/test/results/clientpositive/decimal_precision.q.out 530314f 
  ql/src/test/results/clientpositive/decimal_udf.q.out 95d4e22 
  serde/src/java/org/apache/hadoop/hive/serde2/lazybinary/ 18032d3 



More tests are added. Existing test output are modified accordingly.


Xuefu Zhang

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