You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Jason Dere (JIRA)" <ji...@apache.org> on 2016/01/04 21:30:39 UTC
[jira] [Created] (HIVE-12772) Beeline/JDBC output of decimal values
is not 0-padded, does not match with CLI output
Jason Dere created HIVE-12772:
---------------------------------
Summary: Beeline/JDBC output of decimal values is not 0-padded, does not match with CLI output
Key: HIVE-12772
URL: https://issues.apache.org/jira/browse/HIVE-12772
Project: Hive
Issue Type: Bug
Components: JDBC
Reporter: Jason Dere
Assignee: Jason Dere
HIVE-12063 changed the output of decimal values to pad zeros to the column's full scale for Hive CLI.
It looks like Beeline and JDBC still have the old behavior that strips trailing 0s.
Beeline:
{noformat}
+---------------+---------------+--+
| c1 | c2 |
+---------------+---------------+--+
| 1.9999999999 | 1.9999999999 |
| 9.9999999999 | 9.9999999999 |
+---------------+---------------+--+
{noformat}
HiveCli:
{noformat}
1.99999999990 1.9999999999
9.99999999990 9.9999999999
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)