Naresh P R created HIVE-24628: --------------------------------- Summary: Decimal values are displayed as Scientific notation in beeline Key: HIVE-24628 URL: https://issues.apache.org/jira/browse/HIVE-24628 Project: Hive Issue Type: Bug Reporter: Naresh P R Assignee: Naresh P R
As we are using BigDecimal.toString() returns scientific notation instead of original text, which confuse customer. It should be changed to toPlainString() at here [https://github.com/apache/hive/blob/master/beeline/src/java/org/apache/hive/beeline/Rows.java#L165] Repro steps: {code:java} beeline> select cast(0 as decimal(20,10)); //output 0E-10 {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)