alamb commented on issue #14944: URL: https://github.com/apache/datafusion/issues/14944#issuecomment-2694168148
> It's like cast(month_id, 'utf8') = '202502', see below: So it seems like it would be a valuable thing to apply the type coercion rewriter in the expr simplifier then. https://github.com/apache/datafusion/blob/57a122137a0b64ea523fe6c02b88423f92b9aa0f/datafusion/optimizer/src/unwrap_cast_in_comparison.rs#L115-L125 I'll file a ticket. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org