You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Chinna Rao Lalam (JIRA)" <ji...@apache.org> on 2016/12/22 09:59:58 UTC
[jira] [Updated] (HIVE-15325) Scale is greater than decimal values
trunc(d,s) returns wrong results
[ https://issues.apache.org/jira/browse/HIVE-15325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chinna Rao Lalam updated HIVE-15325:
------------------------------------
Description:
Scale is greater than decimal values trunc(d,s) returns wrong results.
Add tests with negative numbers as well as no-op (e.g. select trunc (12.34, 100))
was:Add tests with negative numbers as well as no-op (e.g. select trunc (12.34, 100))
> Scale is greater than decimal values trunc(d,s) returns wrong results
> ---------------------------------------------------------------------
>
> Key: HIVE-15325
> URL: https://issues.apache.org/jira/browse/HIVE-15325
> Project: Hive
> Issue Type: Bug
> Components: UDF
> Reporter: Chinna Rao Lalam
> Assignee: Chinna Rao Lalam
> Priority: Minor
>
> Scale is greater than decimal values trunc(d,s) returns wrong results.
> Add tests with negative numbers as well as no-op (e.g. select trunc (12.34, 100))
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)