You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Takahiko Saito (JIRA)" <ji...@apache.org> on 2015/11/12 19:17:11 UTC

[jira] [Created] (HIVE-12394) 0 is added when you insert decimal value which number of fractional digits is less than defined scale

Takahiko Saito created HIVE-12394:
-------------------------------------

             Summary: 0 is added when you insert decimal value which number of fractional digits is less than defined scale
                 Key: HIVE-12394
                 URL: https://issues.apache.org/jira/browse/HIVE-12394
             Project: Hive
          Issue Type: Bug
    Affects Versions: 2.0.0
            Reporter: Takahiko Saito


{noformat}
hive> create table test_decimal (d decimal(3,2));
hive> insert into table test_decimal values (0.1);
hive> select * from test_decimal;
0.10
{noformat}

Extra 0 is added to the end of the result.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)