Skip to content

[Scripting] Use Number as a return value for BucketAggregationScript#35919

Merged
jdconrad merged 1 commit intoelastic:6.5from
jdconrad:testfix
Nov 26, 2018
Merged

[Scripting] Use Number as a return value for BucketAggregationScript#35919
jdconrad merged 1 commit intoelastic:6.5from
jdconrad:testfix

Conversation

@jdconrad
Copy link
Copy Markdown
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.

1 participant