coderfender opened a new pull request, #2270:
URL: https://github.com/apache/datafusion-comet/pull/2270

   ## Which issue does this PR close?
   
   https://github.com/apache/datafusion-comet/issues/2233
   
   Closes #.
   
   ## Rationale for this change
   
   Spark performs lazy evaluation with the coalesce function while comet/ data 
fusion does not . This causes different behavior when one of the expressions 
errors out (ex: division by zero) . 
   
   ## What changes are included in this PR?
   
   This change essentially converts spark's coalesce nodes into case statement 
node (to leverage current comet functionality) . This change is minimal and 
easy to revert once the upstream datafusion bug is fixed.
   
   ## How are these changes tested?
   Unit tests to ensure lazy evaluation is performed 
   


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