You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Andrew Lamb (Jira)" <ji...@apache.org> on 2021/01/07 15:38:00 UTC
[jira] [Created] (ARROW-11164) [Rust][DataFusion] Implement
optional second argument to ltrim and rtrim functions
Andrew Lamb created ARROW-11164:
-----------------------------------
Summary: [Rust][DataFusion] Implement optional second argument to ltrim and rtrim functions
Key: ARROW-11164
URL: https://issues.apache.org/jira/browse/ARROW-11164
Project: Apache Arrow
Issue Type: Improvement
Components: Rust - DataFusion
Reporter: Andrew Lamb
Attachments: 103891510-f84d8800-50b7-11eb-929e-94f56c2364cd.png
https://github.com/apache/arrow/pull/9108 adds the ltrim and rtrim functions to datafusion, following postgres. However, postgres offers a second optional argument (the character to trim) that is not yet implemented, as described on https://www.postgresql.org/docs/9.1/functions-string.html
For example:
!103891510-f84d8800-50b7-11eb-929e-94f56c2364cd.png!
This ticket tracks the work to add support for the second optional arguments (what character to trim) - it would probably be a good introductory item for new contributors.
There is more context here:
https://github.com/apache/arrow/pull/9108#pullrequestreview-563440252
--
This message was sent by Atlassian Jira
(v8.3.4#803005)