Description
Steps to reproduce:
1. create a text file with values like 0.0, 0.00, etc.
2. create table in hive with type decimal(1,1).
3. run "load data local inpath ..." to load data into the table.
4. run select * on the table.
You will see that NULL is displayed for 0.0, 0.00, .0, etc. Instead, these should be read as 0.0.
Attachments
Attachments
Issue Links
- duplicates
-
HIVE-8559 DECIMAL field can not store 0 if precision = scale
- Resolved
- requires
-
HIVE-12035 branch-1 build broken
- Resolved