alamb opened a new issue, #5821:
URL: https://github.com/apache/arrow-datafusion/issues/5821
The type coercion is implemented as an optimizer - and it
changes schemas of particular `Expr`essions.
And it **takes care** of `Expr::Case`.
But `Expr::Projection` caches the schema in itself - so it is not updated!
Therefore we get a mismatch between declared schema vs batch schema.
Essentially this PR makes `Expr::Case` to **not** change a schema during the
coercion optimizer.
_Originally posted by @mslapek in
https://github.com/apache/arrow-datafusion/pull/5734#discussion_r1153540699_
--
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]