alamb opened a new issue, #9217:
URL: https://github.com/apache/arrow-datafusion/issues/9217
The newly added `to_char`'s null handling is not quite correct --
specifically when the format string is null, the output should be null, but now
it returns the first argument
Goal is to make `to_char` do what postgres does:
Postgres seems to think this should be null
```sql
postgres=# select to_char(interval '1 day', null);
to_char
---------
(1 row)
```
_Originally posted by @alamb in
https://github.com/apache/arrow-datafusion/pull/9181#discussion_r1487974457_
--
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]