ESQL: LTRIM, RTRIM and fix unicode whitespace#98590
Merged
nik9000 merged 4 commits intoelastic:mainfrom Aug 17, 2023
Merged
Conversation
Contributor
|
Documentation preview: |
Collaborator
|
Pinging @elastic/es-ql (Team:QL) |
Collaborator
|
Hi @nik9000, I've created a changelog YAML for you. |
Collaborator
|
Pinging @elastic/elasticsearch-esql (:Query Languages/ES|QL) |
Here we add support for the following two ESQL functions: * LTRIM: remove leading spaces from a string * RTRIM: remove trailing spaces from a string We also fix an issue with the handling of unicode white spaces. We make use of unicode code points to identify unicode whitespace characters instead of relying on ASCII codes. Moreover, iterating bytes in a Unicode string needs to consider that some Unicode characters are encoded using multiple bytes.
Member
Author
|
Recreation of #98548 targeting |
Member
Author
|
run elasticsearch-ci/docs |
Collaborator
|
Hi @nik9000, I've created a changelog YAML for you. |
Member
Author
|
run elasticsearch-ci/example-plugins |
csoulios
pushed a commit
to csoulios/elasticsearch
that referenced
this pull request
Aug 18, 2023
Here we add support for the following two ESQL functions: * LTRIM: remove leading spaces from a string * RTRIM: remove trailing spaces from a string We also fix an issue with the handling of unicode white spaces. We make use of unicode code points to identify unicode whitespace characters instead of relying on ASCII codes. Moreover, iterating bytes in a Unicode string needs to consider that some Unicode characters are encoded using multiple bytes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Here we add support for the following two ESQL functions:
We also fix an issue with the handling of unicode white spaces. We make use of unicode code points to identify unicode whitespace characters instead of relying on ASCII codes.
Moreover, iterating bytes in a Unicode string needs to consider that some Unicode characters are encoded using multiple bytes.