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/08/25 17:26:41 UTC
[GitHub] [arrow-datafusion] adsharma commented on issue #935: Add support for TRIM BOTH/LEADING/TRAILING
adsharma commented on issue #935:
URL: https://github.com/apache/arrow-datafusion/issues/935#issuecomment-905730026
Does this look right?
https://github.com/adsharma/arrow-datafusion/commit/8c4bd15725d769f6e78f8218fe27c8e935316b93
After this code, I see a query plan that looks legit, but the output is not what I'd expect. Any hints on what's missing or how to debug it?
```
> SELECT TRIM(LEADING 'x' FROM 'xxxbarxxx');
+------------------------------------+
| ltrim(Utf8("x"),Utf8("xxxbarxxx")) |
+------------------------------------+
| |
+------------------------------------+
1 row in set. Query took 0.007 seconds.
```
--
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: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org