[ 
https://issues.apache.org/jira/browse/HIVE-12394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jason Dere resolved HIVE-12394.
-------------------------------
    Resolution: Not A Problem

Padding of decimal values on display is expected now, due to HIVE-12063

> 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)

Reply via email to