Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.1.1
-
None
-
None
Description
How to reproduce:
hive> SELECT CAST(1 AS decimal(38, 18)); OK 1 Time taken: 0.226 seconds, Fetched: 1 row(s) hive> CREATE TABLE HIVE_22139 AS SELECT CAST(1 AS decimal(38, 18)) as c; OK Time taken: 2.278 seconds hive> SELECT * FROM HIVE_22139; OK 1.000000000000000000 Time taken: 0.07 seconds, Fetched: 1 row(s)
Attachments
Issue Links
- is related to
-
HIVE-12063 Pad Decimal numbers with trailing zeros to the scale of the column
- Closed