You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When creating a rename ingest processor, set field to a template snippet {{field_a}} and set ignore_missing to true, if field_a doesn't exist in the document, the processor throws an error rather than doing nothing.
{
"docs": [
{
"error": {
"root_cause": [
{
"type": "illegal_argument_exception",
"reason": "path cannot be null nor empty"
}
],
"type": "illegal_argument_exception",
"reason": "path cannot be null nor empty"
}
}
]
}
The result of setting ignore_missing to true and false are the same. Expected behavior
When setting ignore_missing to true, rename ingest processor exits quietly without throwing an error.
Host/Environment (please complete the following information):
OS: [Mac OS]
Version [OpenSearch 2.9]
The text was updated successfully, but these errors were encountered:
Describe the bug
When creating a rename ingest processor, set
field
to a template snippet{{field_a}}
and setignore_missing
totrue
, iffield_a
doesn't exist in the document, the processor throws an error rather than doing nothing.To Reproduce
Steps to reproduce the behavior:
, then we get:
The result of setting
ignore_missing
totrue
andfalse
are the same.Expected behavior
When setting
ignore_missing
totrue
, rename ingest processor exits quietly without throwing an error.Host/Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: