Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.4.0
-
None
Description
For cases where a decimal number goes through an arithmetic operation and ends up with leading zeros, the zeros are dropped and an error occurs.
For example, a query like this
select cast('-99999999' as decimal(9,0)) / cast('12345678901234.56789123456789' as decimal(28,14)) FROM `dfs`.`default`.`/opt/drill/raw-files/voter` limit 1
will cause an error