Skip to content

Dates stored in milliseconds can be passed with higher resolution losing precision #37962

@spinscale

Description

@spinscale

During the joda to java-time switch we discovered that dates can have a higher resolution, that the implementation is able to store without warning the user about this.

Having a date field allows to send a date like 2018-10-03T14:42:44.613469+0000 to Elasticsearch. This date however will not store the 469 microsecond part, but silently discard it.

We should discuss, if we want to do anything about this like emitting a warning.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions