Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.1.3, 4.0.0
-
None
Description
I can reproduce this bug.
create table decimal_test(
id int,
quantity decimal(38,8),
cost decimal(38,8)
) stored as textfile;
insert into decimal_test values(1,0.00008000, 0.00015000);
select quantity * cost from decimal_test;
1、The following are the execution results and execution plan on Hive-1.0.1:
2、The following are the execution results and execution plan on Hive-3.1.3:
Attachments
Attachments
Issue Links
- relates to
-
HIVE-15331 Decimal multiplication with high precision/scale often returns NULL
- Closed
- links to