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/04/26 13:27:02 UTC
[jira] [Closed] (ARROW-11164) [Rust][DataFusion] Implement optional
second argument to ltrim and rtrim functions
[ https://issues.apache.org/jira/browse/ARROW-11164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Lamb closed ARROW-11164.
-------------------------------
Resolution: Invalid
> [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
> Priority: Minor
> Labels: GoodForNewContributors
> 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)