You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Alexander Pivovarov (JIRA)" <ji...@apache.org> on 2014/10/22 08:44:34 UTC
[jira] [Created] (HIVE-8559) DECIMAL field can not store 0 if
precision = scale
Alexander Pivovarov created HIVE-8559:
-----------------------------------------
Summary: DECIMAL field can not store 0 if precision = scale
Key: HIVE-8559
URL: https://issues.apache.org/jira/browse/HIVE-8559
Project: Hive
Issue Type: Bug
Affects Versions: 0.13.1
Reporter: Alexander Pivovarov
For example the following query returns NULL instead of 0 in hive (trunk )
select cast(0 as decimal(6,6));
OK
NULL
I tried DECIMAL(6,6) in oracle. It can store 0.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)