Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
Product Backlog
-
ghx-label-5
Description
Enhance the existing ltrim() and rtrim() string functions to accept an argument that specifies a set of characters to be trimmed from the target string. This is in line with how these functions are implemented in PostgreSQL[1], Vertica[2], etc.
The new function signatures will look like:
ltrim(string text [, characters text])
rtrim(string text [, characters text])
[1] https://www.postgresql.org/docs/9.1/static/functions-string.html
[2] http://bit.ly/2wTE52M
Attachments
Issue Links
- Blocked
-
IMPALA-889 Add trim() function matching ANSI SQL definition
-
- Open
-
- contains
-
IMPALA-6764 Codegend UnionNode::MaterializeBatch() causes memory corruption crash of Impalad
-
- Resolved
-
-
IMPALA-6936 LLVM generates toxic x86 assembly for StringFunctions::Trim()
-
- Resolved
-