pepijnve commented on issue #17801:
URL: https://github.com/apache/datafusion/issues/17801#issuecomment-3505102949

   > I had another idea about how to preserve the improvements made to nullif 
but avoid this bug. Perhaps instead of simplifying to CASE entirely, we had the 
the physical function and instead called into the CaseExpr instead in the 
ExecutionPlan
   
   I tried that avenue as well. The problems is that with ScalarUDF at the 
moment you only get eager evaluation. There's no way to achieve the lazy 
evaluation `coalesce` requires.


-- 
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]

Reply via email to