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.