-
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
Scripting: Remove native scripts #24726
Conversation
Native scripts have been replaced in documentation by implementing a ScriptEngine and they were deprecated in 5.5.0. This commit removes the native script infrastructure for 6.0. closes elastic#19966
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 like all the removed lines! I'm fine with pushing folks over to a script engine. @imotov probably should have a look as well if just so that he knows this is happening.
static float[] floatArray = { Float.MAX_VALUE, Float.MIN_VALUE, 3.3f }; | ||
static double[] doubleArray = { Double.MAX_VALUE, Double.MIN_VALUE, 3.3d }; | ||
|
||
public void testNativeScript() throws InterruptedException, ExecutionException { |
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 believe we have plenty of tests for script fields hanging around though there may not be any in core if you drop this. Is that a problem, do you think?
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.
This wasn't really testing script fields per say, but I will double check there is some test for script fields.
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.
LGTM
Native scripts have been replaced in documentation by implementing
a ScriptEngine and they were deprecated in 5.5.0. This commit
removes the native script infrastructure for 6.0.
closes #19966