AryanMishra1789 commented on issue #20356: URL: https://github.com/apache/datafusion/issues/20356#issuecomment-3914770213
Hi @Acfboy I agree the invalid expressions in WHERE / HAVING / ORDER BY / JOIN ON should fail earlier during logical planning for consistency with SELECT. I would like to work on this by adding early validation for these clauses, following the same error handling pattern used for SELECT expressions via Expr::to_field. I plan to keep this scoped to logical planning and avoid duplicating type coercion logic. Does this approach sounds reasonable? Another option might be to factor this into a shared expression validation helper used by both logical planning and type coercion. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
