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
What is the bug?
When user use map type configuration in several processors, the validation can fail since validation is been done on extra fields in that map. How can one reproduce the bug?
Steps to reproduce the behavior:
{
"docs": [
{
"error": {
"root_cause": [
{
"type": "illegal_argument_exception",
"reason": "map type field [category] has non-string type, cannot process it"
}
],
"type": "illegal_argument_exception",
"reason": "map type field [category] has non-string type, cannot process it"
}
}
]
}
What is the expected behavior?
Correct embedding should be generated and inserted to the document.
What is your host/environment?
OS: [e.g. iOS]
Version [e.g. 22]
Plugins
Do you have any screenshots?
If applicable, add screenshots to help explain your problem.
Do you have any additional context?
Root cause is when validating map type data, not only the expected field is validated, but also the unrelated fields are been validated, in above example, "id" is been validated since it's under the category map, and it's value is integer which doesn't supported in text embedding thus the error.
The text was updated successfully, but these errors were encountered:
What is the bug?
When user use map type configuration in several processors, the validation can fail since validation is been done on extra fields in that map.
How can one reproduce the bug?
Steps to reproduce the behavior:
And simulate the ingestion:
Then user can get error like below:
What is the expected behavior?
Correct embedding should be generated and inserted to the document.
What is your host/environment?
Do you have any screenshots?
If applicable, add screenshots to help explain your problem.
Do you have any additional context?
Root cause is when validating map type data, not only the expected field is validated, but also the unrelated fields are been validated, in above example, "id" is been validated since it's under the
category
map, and it's value is integer which doesn't supported in text embedding thus the error.The text was updated successfully, but these errors were encountered: