thisisnic opened a new pull request, #51168:
URL: https://github.com/apache/arrow/pull/51168

   ### Rationale for this change
   
   `sub()`, `gsub()`, `str_replace()`, `str_replace_all()`, `str_remove()`, and 
`str_remove_all()` only accept a single pattern/replacement, but neither the 
docs nor the error message said why. Wording suggested by @baarthur in the 
issue.
   
   ### What changes are included in this PR?
   
   The validation error now says multiple replacements are not supported, and 
the limitation is documented against each of those functions on the "Functions 
available in Arrow dplyr queries" page.
   
   ### Are these changes tested?
   
   Yes, a test for the new error message is added.
   
   ### Are there any user-facing changes?
   
   No, only a clearer error message and docs.
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   
   https://claude.ai/code/session_01Y273BE7ZELeBhwRRQH2xrv


-- 
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]

Reply via email to