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

Source filtering should keep working when the source contains numbers greater than Long.MAX_VALUE. #20278

Merged
merged 1 commit into from
Sep 2, 2016

Conversation

jpountz
Copy link
Contributor

@jpountz jpountz commented Sep 1, 2016

Currently it does not because our parsers do not support big integers/decimals
(on purpose) but we do not have to ask our parser for the number type, we can
just ask the jackson parser for a number representation of the value with the
right type.

Note that I did not add similar tests for big decimals because Jackson seems to
never return big decimals, even for decimal values that are out of the range of
values that can be represented by doubles.

Closes #11508

@jpountz jpountz added >bug :Search/Search Search-related issues that do not fall into other categories labels Sep 1, 2016
@dakrone
Copy link
Member

dakrone commented Sep 1, 2016

LGTM

… greater than `Long.MAX_VALUE`. elastic#20278

Currently it does not because our parsers do not support big integers/decimals
(on purpose) but we do not have to ask our parser for the number type, we can
just ask the jackson parser for a number representation of the value with the
right type.

Note that I did not add similar tests for big decimals because Jackson seems to
never return big decimals, even for decimal values that are out of the range of
values that can be represented by doubles.

Closes elastic#11508
@jpountz jpountz merged commit 5bfab76 into elastic:master Sep 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Search/Search Search-related issues that do not fall into other categories v5.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants