Description
UnwrapCastInBinaryComparison fail with the following case
CREATE TABLE tbl (d decimal(33, 27)) USING PARQUET SELECT d FROM tbl WHERE d NOT IN (d + 1)
Here in.list can be a CheckOverflow expression:
cast(d#240 as decimal(34,27)) IN (CheckOverflow((promote_precision(cast(d#240 as decimal(34,27))) + 1.000000000000000000000000000), DecimalType(34,27), true))
{{}}
Attachments
Issue Links
- is caused by
-
SPARK-35316 UnwrapCastInBinaryComparison support In/InSet predicate
- Resolved
- links to