Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
Apache Drill, Apache Arrow
Description
Method org.apache.drill.exec.util.DecimalUtility.adjustScaleMultiply(long input, int factor) can return the value bigger than long max value.
For example by comparison two decimal18 values 9223372036854775807 and 0.001. To adjust first value scale this method should return 9223372036854775807 * 1000 - bigger than long max value.
Class DecimalUtility.java will be a part of org.apache.arrow after renaming described in DRILL-4455 Depend on Apache Arrow for Vector and Memory
Attachments
Issue Links
- is related to
-
DRILL-2282 Eliminate spaces, special characters from names in function templates
- Open
- relates to
-
DRILL-6094 Decimal data type enhancements
- Closed
- links to