guojidan opened a new issue, #9363:
URL: https://github.com/apache/arrow-datafusion/issues/9363

   ### Is your feature request related to a problem or challenge?
   
   `NVL` is already supported #9284 , maybe we can support `NVL2` function, its 
functions are as follows:
   ### Describe
   Returns \<expr2\> if \<expr1\> is not NULL; otherwise, it returns \<expr3\>.
   ### Syntax
   > NVL2(\<expr1\> , \<expr2\> , \<expr3\>)
   ### Examples
   SELECT NVL2('a', 'b', 'c'), NVL2(NULL, 'b', 'c');
   
   ┌────────────────────────────────────────────┐
   │ nvl2('a', 'b', 'c') │ nvl2(null, 'b', 'c') │
   ├─────────────────────┼──────────────────────┤
   │ b                   │ c                    │
   └────────────────────────────────────────────┘
   
   
   I think this function is useful 🤔 
   
   ### Describe the solution you'd like
   
   _No response_
   
   ### 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: github-unsubscr...@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to