if this pr is merged, we can rewrite `nvl/ifnull` function to `nvl2`, like: `nvl(expr1, expr2)` -> `nvl2(expr1, expr1, expr2)` 🤔 _Originally posted by @guojidan in https://github.com/apache/arrow-datafusion/issues/9364#issuecomment-1966243814_