Skip to content

Reintroduce negative epoch_millis #1991 (#2232)#2380

Merged
dblock merged 1 commit intoopensearch-project:1.xfrom
intrafind:backport/backport-1991-to-1
Mar 7, 2022
Merged

Reintroduce negative epoch_millis #1991 (#2232)#2380
dblock merged 1 commit intoopensearch-project:1.xfrom
intrafind:backport/backport-1991-to-1

Conversation

@br3no
Copy link
Copy Markdown
Contributor

@br3no br3no commented Mar 7, 2022

Backport of #2232.

* Reintroduce negative epoch_millis #1991

Fixes a regression introduced with Elasticsearch 7 regarding the date
field type that removed support for negative timestamps with sub-second
granularity.

Thanks to Ryan Kophs (https://github.com/rkophs) for allowing me to use
his previous work.

Signed-off-by: Breno Faria <breno.faria@intrafind.de>

* applying spotless fix

Signed-off-by: Breno Faria <breno.faria@intrafind.de>

* more conservative implementation of isSupportedBy

Signed-off-by: Breno Faria <breno.faria@intrafind.de>

* adding braces to control flow statement

Signed-off-by: Breno Faria <breno.faria@intrafind.de>

* spotless fix...

Signed-off-by: Breno Faria <breno.faria@intrafind.de>

Co-authored-by: Breno Faria <breno.faria@intrafind.de>
@opensearch-ci-bot
Copy link
Copy Markdown
Collaborator

Can one of the admins verify this patch?

@opensearch-ci-bot
Copy link
Copy Markdown
Collaborator

✅   Gradle Check success daf3ed9
Log 3097

Reports 3097

@dblock dblock merged commit c05adf3 into opensearch-project:1.x Mar 7, 2022
@br3no br3no deleted the backport/backport-1991-to-1 branch March 7, 2022 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants