ROUND(infinity) chokes ---------------------- Key: HIVE-1771 URL: https://issues.apache.org/jira/browse/HIVE-1771 Project: Hive Issue Type: Bug Components: UDF Affects Versions: 0.6.0 Reporter: John Sichi Assignee: John Sichi Fix For: 0.7.0
Since 1-arg ROUND returns an integer, it's hard to fix this without either losing data (return NULL) or making a backwards-incompatible change (return DOUBLE instead of BIGINT). In any case, we should definitely fix 2-arg ROUND to preserve infinity/NaN/etc, since it is already returning double. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.