Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
TestFileDump builds data row where one of the column is BigDecimal
The test adds value 2.2222
There are 2 ways to create BigDecimal object.
1. use new
2. use valueOf
in this particular case
1. "new" will create 2.222199999999999953
2. valueOf will use the canonical String representation and the result will be 2.2222
Probably we should use valueOf to create BigDecimal object
TestTimestampWritable and TestHCatStores use valueOf
Attachments
Attachments
Issue Links
- is part of
-
HIVE-9809 Fix FindBugs found bugs in hive-exec
- Resolved
- links to