-
Notifications
You must be signed in to change notification settings - Fork 25k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support array for all string ingest processors #53343
Conversation
Pinging @elastic/es-core-features (:Core/Features/Ingest) |
@elasticmachine ok to test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gaobinlong, thanks for making this improvement to all the string ingest processors and for updating the docs and tests as well. I suggested a few changes in wording to the docs and error messages. Once those are in, I will get this merged.
...les/ingest-common/src/main/java/org/elasticsearch/ingest/common/AbstractStringProcessor.java
Outdated
Show resolved
Hide resolved
Co-Authored-By: Dan Hermann <[email protected]>
Co-Authored-By: Dan Hermann <[email protected]>
Co-Authored-By: Dan Hermann <[email protected]>
Co-Authored-By: Dan Hermann <[email protected]>
Co-Authored-By: Dan Hermann <[email protected]>
Co-Authored-By: Dan Hermann <[email protected]>
Co-Authored-By: Dan Hermann <[email protected]>
…ommon/AbstractStringProcessor.java Co-Authored-By: Dan Hermann <[email protected]>
After elastic/elasticsearch#53343, ingest node's lowercase processor will lowercase values in arrays. This is causing the integration tests to fail.
After elastic/elasticsearch#53343, ingest node's lowercase processor will lowercase values in arrays. This is causing the integration tests to fail.
After elastic/elasticsearch#53343, ingest node's lowercase processor will lowercase values in arrays. This is causing the integration tests to fail. (cherry picked from commit 0731f45)
After elastic/elasticsearch#53343, ingest node's lowercase processor will lowercase values in arrays. This is causing the integration tests to fail. (cherry picked from commit 0731f45)
Relates to #51087.
This work comes from the enhancement that lowercase and uppercase processors can support field with multi values, but lowercase and uppercase processors are
AbstractStringProcessor
,so maybe we can support array for all the string ingest processors below: