-
Notifications
You must be signed in to change notification settings - Fork 25.2k
add ignore_missing option to convert,trim,lowercase,uppercase,grok,rename #20194
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
Conversation
c4a9a13
to
269955d
Compare
@@ -81,6 +96,10 @@ public Grok getGrok() { | |||
return grok; | |||
} | |||
|
|||
public boolean isIgnoreMissing() { |
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.
the isIgnoreMissing
getters are only used in tests, right? So then it can be package protected?
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.
++ I'll update them
53e20f1
to
38c61f4
Compare
@martijnvg mind taking another look at this? |
/** | ||
*/ | ||
public class IngestDocumentMatcher { | ||
public static void assertIngestDocument(Object a, Object b) { |
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.
same note as in the json processor PR.
Small note, LGTM otherwise. |
f1aaf79
to
94710fc
Compare
Adds an
ignore_missing
option for the Convert processor that will enable suppression of exceptions surrounding non-existant fields and null-valued fields.in response to: #19995
updated to include
TODO:
assertIngestDocument
since it is not available to the ingest-common module