Skip to content

Fix casting of scaled_float in sorts (backport of #57207)#57385

Merged
nik9000 merged 1 commit intoelastic:7.xfrom
nik9000:fix_scaled_float_sort_casting_7_x
May 29, 2020
Merged

Fix casting of scaled_float in sorts (backport of #57207)#57385
nik9000 merged 1 commit intoelastic:7.xfrom
nik9000:fix_scaled_float_sort_casting_7_x

Conversation

@nik9000
Copy link
Copy Markdown
Member

@nik9000 nik9000 commented May 29, 2020

Previously we'd get a ClassCastException when you tried to use
numeric_type on scaled_float. Oops! This cleans up the CCE and moves
some code around so the casting actually works.

Previously we'd get a `ClassCastException` when you tried to use
`numeric_type` on `scaled_float`. Oops! This cleans up the CCE and moves
some code around so the casting actually works.
@nik9000 nik9000 changed the title Fix casting of scaled_float in sorts (#57207) Fix casting of scaled_float in sorts (backport of #57207) May 29, 2020
@nik9000 nik9000 merged commit f52e779 into elastic:7.x May 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant