-
Notifications
You must be signed in to change notification settings - Fork 25.1k
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
DateFieldMapper ignore_malformed
misses java.lang.ArithmeticException
#52634
Labels
>bug
:Search Foundations/Mapping
Index mappings, including merging and defining field types
Team:Search Foundations
Meta label for the Search Foundations team in Elasticsearch
Comments
Pinging @elastic/es-search (:Search/Mapping) |
Hi, i was having a similiar issue (#52396 (comment)). In cases when the long is 10 digits or shorter it isn't parsed as epoch milliseconds, but to a year |
cbuescher
pushed a commit
to cbuescher/elasticsearch
that referenced
this issue
Jul 27, 2020
Currently we occasionally can get ArithmeticException from parsing bad input values on 'date' fields that are passed on even if 'ignore_malformed' is set. This change adds this exception to the ones we already catch for malformed values. Closes elastic#52634
cbuescher
pushed a commit
that referenced
this issue
Aug 17, 2020
Currently we occasionally can get ArithmeticException from parsing bad input values on 'date' fields that are passed on even if 'ignore_malformed' is set. This change adds this exception to the ones we already catch for malformed values. Closes #52634
cbuescher
pushed a commit
that referenced
this issue
Aug 17, 2020
Currently we occasionally can get ArithmeticException from parsing bad input values on 'date' fields that are passed on even if 'ignore_malformed' is set. This change adds this exception to the ones we already catch for malformed values. Closes #52634
61 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
>bug
:Search Foundations/Mapping
Index mappings, including merging and defining field types
Team:Search Foundations
Meta label for the Search Foundations team in Elasticsearch
It seems when parsing dates as longs, we can have arithmetic exceptions. Steps to reproduce:
The error in the logs looks like:
Similar to #50090
The text was updated successfully, but these errors were encountered: