Inf1mum commented on issue #27487: URL: https://github.com/apache/datafusion/issues/27487#issuecomment-6945820165
I'll take this one, with the documentation option (option 1) and no behavior change. Plan: state the requirement on `ExpressionPlacement::MoveTowardsLeafNodes` and on `ScalarUDFImpl::placement` — the optimizer may evaluate an expression with this placement on rows that enclosing filters or conditional expressions would exclude (extraction projections are hoisted out of `CASE` branches and can be pushed below `Filter`), so such an expression must not fail or have side effects on any input row. I'll note that the same requirement holds for physical-level precomputation as in #26589. -- 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]
