-
Notifications
You must be signed in to change notification settings - Fork 25.2k
Floating-point value accepted for a date field during indexing, but fails later on update/re-index #71311
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
Comments
Pinging @elastic/es-core-features (Team:Core/Features) |
Pinging @elastic/es-search (Team:Search) |
So far I can see that on update the "_source" we need to re-parse contains the original date value in scientific notation ( |
The date is correct it means 1616619193352 millis and 3 nanoseconds a similar problem still ongoing #70085 this can also likely be fixed by - #46531 |
I was sort of hoping that we could avoid ever doing anything on the "map of maps" side. But a bug like this sort of forces us to do something there. I'm not sure what, frankly. |
Pinging @elastic/es-search-foundations (Team:Search Foundations) |
Do we have any update on this or any work around ? |
Elasticsearch version (
bin/elasticsearch --version
):7.9.2
Plugins installed: []
JVM version (
java -version
):openjdk version "15" 2020-09-15
OpenJDK Runtime Environment AdoptOpenJDK (build 15+36)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 15+36, mixed mode, sharing)
OS version (
uname -a
if on a Unix-like system):Linux 4.15.0-20-generic #21-Ubuntu SMP Tue Apr 24 06:16:15 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Description of the problem including expected versus actual behavior:
Floating-point values are accepted into a date field during initial document insert, but cause later update/re-index operations to fail.
I would expect that since the value is not a properly formatted date string, a long, or an integer, that the insert should have thrown the bad format error.
Steps to reproduce:
The text was updated successfully, but these errors were encountered: