Omega359 opened a new issue, #13384:
URL: https://github.com/apache/datafusion/issues/13384
### Describe the bug
The array_to_string function has an optional third argument `null_string`
that if provided will replace null. This is tested in the slt tests:
```
# array_to_string scalar function with nulls #2
query TTT
select array_to_string(make_array('h', NULL, NULL, NULL, 'o'), ',', '-'),
array_to_string(make_array(NULL, 2, NULL, 4, 5), '-', 'nil'),
array_to_string(make_array(1.0, NULL, 3.0), '|', '0');
----
h,-,-,-,o nil-2-nil-4-5 1|0|3
```
### To Reproduce
_No response_
### Expected behavior
Docs should reflect the actual functionality.
### 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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]