-
Notifications
You must be signed in to change notification settings - Fork 989
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 for ArrayType in es.update.script.params #2036
Comments
I have been able to reproduce this and it does look like a bug. It is very similar to #1838. There we added support for arrays of Rows in scripted upserts. It looks like we also need to add support for arrays of other types (Strings in this case).
|
Something like this seems to fix it. If I get time in the next few weeks I'll try to support other types, properly test it, and get a PR up:
|
@masseyke cc. @vararo27 Strack trace: OS: : Any |
@devJackie I have been unable to carve out the time to work on this. It is unlikely it will get merged soon. |
What kind an issue is this?
The easier it is to track down the bug, the faster it is solved.
Often a solution already exists! Don’t send pull requests to implement new features without
first getting our support. Sometimes we leave features out on purpose to keep the project small.
Issue description
Arrays fields are not working with ES Update script.
tags
is an array in shared example and it fails in transformation stage. Do we have reference to use ArrayType withes.update.script.params
Steps to reproduce
Code:
Strack trace:
Version Info
OS: : Any
JVM : 1.8
Hadoop/Spark: 3.2.1
ES-Hadoop : 8.2.2
ES : 7.10.2
Feature description
The text was updated successfully, but these errors were encountered: