Expand description
UnwrapCastInComparison
rewrites CAST(col) = lit
to col = CAST(lit)
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.