[ https://issues.apache.org/jira/browse/HIVE-12394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15002898#comment-15002898 ]
Lefty Leverenz commented on HIVE-12394: --------------------------------------- I had thought HIVE-12063 didn't need documentation, but apparently some doc would be helpful. > 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)