alamb opened a new issue #185: URL: https://github.com/apache/arrow-datafusion/issues/185
*Note*: migrated from original JIRA: https://issues.apache.org/jira/browse/ARROW-11851 As we observed in https://github.com/apache/arrow/pull/9565#discussion_r586347165 datafusion won't coerce null literals, forcing strange syntax such as: ``` rpad('hi', CAST(NULL AS INT), 'xy') We should add automatic coercion logic from the null literal to any type and this expression should work just fine (produce a NULL output) ``` rpad('hi', NULL, 'xy') ``` -- 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. For queries about this service, please contact Infrastructure at: [email protected]
