You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Activity
Jefffrey commentedon Oct 17, 2025
I'll close this as being done by #16946 as it adds this function to the datafusion-spark crate