Skip to content
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] Use Number as a return value for BucketAggregationScript #35919

Merged
merged 1 commit into from
Nov 26, 2018

Conversation

jdconrad
Copy link
Contributor

Using this to test against 6.5 branch.

…lastic#35653)

This change fixes elastic#35351. Users were no longer able to return types of numbers other than doubles for bucket aggregation scripts. This change reverts to the previous behavior of being able to return any type of number and having it converted to a double outside of the script.
@jdconrad jdconrad added >non-issue :Core/Infra/Scripting Scripting abstractions, Painless, and Mustache v6.5.2 labels Nov 26, 2018
@jdconrad jdconrad merged commit 5e89d4f into elastic:6.5 Nov 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Core/Infra/Scripting Scripting abstractions, Painless, and Mustache >non-issue v6.5.2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant