jorisvandenbossche commented on PR #39264:
URL: https://github.com/apache/arrow/pull/39264#issuecomment-1881422694
I personally wasn't aware of this specific behaviour of Python, and I don't
think we necessarily need to replicate it exactly. Is there a typical use case
for this?
For another data point: Postgres doesn't seem to have this behaviour, but
rather matches nothing for an empty string:
```
test_db=# SELECT replace('test', 't', 'z');
replace
---------
zesz
(1 row)
test_db=# SELECT replace('test', '', 'z');
replace
---------
test
(1 row)
```
--
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]