Expand description
Unwrap-cast binary comparison rule can be used to the binary/inlist comparison expr now, and other type
of expr can be added if needed.
This rule can reduce adding the Expr::Cast
the expr instead of adding the Expr::Cast
to literal expr.
Structs
UnwrapCastInComparison
attempts to remove casts from comparisons to literals (ScalarValue
s) by applying the casts to the literals if possible. It is inspired by the optimizer ruleUnwrapCastInBinaryComparison
of Spark.