Description
both of the following sql statements
select ((946-885)*1.000/946 < 0.1)
and
select ((946-885)*1.0/946 < 0.100)
return true, while the following statement
select ((946-885)*1.0/946 < 0.1)
returns false
Attachments
Issue Links
- is related to
-
SPARK-21332 Incorrect result type inferred for some decimal expressions
- Resolved