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

   ### Is your feature request related to a problem or challenge?
   
   Most of the sql engines support if function, like spark, snowflake, mysql, 
etc. It is similar as Case expression, but only support one condition, the 
syntax is like: 
   `IF( <condition> , <expr1> , <expr2> )` 
   If condition evaluates to TRUE, returns expr1, otherwise returns expr2
   
   ### Describe the solution you'd like
   
   Add new build in function 'If'
   
   ### 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]

Reply via email to