You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2021/01/06 23:30:50 UTC

[GitHub] [arrow] alamb commented on pull request #9108: ARROW-11138: [Rust] Add ltrim, rtrim to built-in functions

alamb commented on pull request #9108:
URL: https://github.com/apache/arrow/pull/9108#issuecomment-755777874


   I agree with @seddonm1  that ideally we would follow Postgres when possible so we can just re-use all their documentation and semantics and so we don't end up inadvertently creating yet another SQL dialect like spark. 
   
   Specifically in this case, it looks like the relevant postgres function is called `TRIM`. A screen shot from https://www.postgresql.org/docs/9.1/functions-string.html
   
   ![Screen Shot 2021-01-06 at 6 29 19 PM](https://user-images.githubusercontent.com/490673/103832756-19c55a00-504d-11eb-8d89-840c16f2b788.png)
   


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org