You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "guojidan (via GitHub)" <gi...@apache.org> on 2024/02/27 08:45:34 UTC

[I] feature: support NVL2 function [arrow-datafusion]

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-unsubscribe@arrow.apache.org.apache.org

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


Re: [I] feature: support NVL2 function [arrow-datafusion]

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb closed issue #9363: feature: support NVL2 function
URL: https://github.com/apache/arrow-datafusion/issues/9363


-- 
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-unsubscribe@arrow.apache.org

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


Re: [I] feature: support NVL2 function [arrow-datafusion]

Posted by "guojidan (via GitHub)" <gi...@apache.org>.
guojidan commented on issue #9363:
URL: https://github.com/apache/arrow-datafusion/issues/9363#issuecomment-1966052138

   take


-- 
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-unsubscribe@arrow.apache.org

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