alamb opened a new issue, #17982:
URL: https://github.com/apache/datafusion/issues/17982

   ### Is your feature request related to a problem or challenge?
   
   DataFusion's `CASE` handling is quite optimized and handles many cases with 
constants, lazy evaluation, and more
   
   Recently, @chenkovsky fixed  lazy evaluation for `coalesce` by rewriting it 
to use `CASE` in PR: 
   - https://github.com/apache/datafusion/pull/17357
   
   This both made the code faster and more correct
   
   ### Describe the solution you'd like
   
   We can do the same thing for the `nvl` function, as suggested by @pepijnve 
in https://github.com/apache/datafusion/pull/17813#issuecomment-3372775137
   
   
https://github.com/apache/datafusion/blob/main/datafusion/functions/src/core/nvl.rs
   
   ### Describe alternatives you've considered
   
   _No response_
   
   ### Additional context
   
   _No response_


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