You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "mslapek (via GitHub)" <gi...@apache.org> on 2023/03/25 09:44:56 UTC
[GitHub] [arrow-datafusion] mslapek commented on issue #5681: Move some rules and code into Analyzer
mslapek commented on issue #5681:
URL: https://github.com/apache/arrow-datafusion/issues/5681#issuecomment-1483780310
This is a very important feature. 🪜
Moving `TypeCoercion` into pre-optimizer phase would allow to avoid "Mismatch between schema and batches", like #5733 (and possibly #5695).
`TypeCoercion` being **an optimizer** is a broken concept - because optimizers cannot change the final schema of the logical plan.
What is more, `Expr::Case` has an assumption, that all inputs are **already** coerced.
--
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-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org