HaoYang670 commented on PR #3608:
URL:
https://github.com/apache/arrow-datafusion/pull/3608#issuecomment-1257179698
> However, I think it is worth considering handling nulls in positions other
than the first as well
@alamb, if the separator is `null`, the `concat_ws` expression will always
have the value `null`,
If `null` appears in other positions, then the `null` value will be ignored:
```
concat_ws(" | ", col1, null, col2) --> concat_ws("|", col1, col2)
```
So we should only check `null` at the first position
--
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]