Skip to content

[Backport 1.x] Reintroduce negative epoch_millis #1991#2328

Closed
opensearch-trigger-bot[bot] wants to merge 1 commit into
1.xfrom
backport/backport-2232-to-1.x
Closed

[Backport 1.x] Reintroduce negative epoch_millis #1991#2328
opensearch-trigger-bot[bot] wants to merge 1 commit into
1.xfrom
backport/backport-2232-to-1.x

Conversation

@opensearch-trigger-bot
Copy link
Copy Markdown
Contributor

Backport 4b89410 from #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>
(cherry picked from commit 4b89410)
@opensearch-ci-bot
Copy link
Copy Markdown
Collaborator

Can one of the admins verify this patch?

@VachaShah
Copy link
Copy Markdown
Contributor

Closing this PR since it will need a manual backport to fix DCO. (#2314)

@VachaShah VachaShah closed this Mar 3, 2022
@VachaShah VachaShah deleted the backport/backport-2232-to-1.x branch March 3, 2022 20:23
@opensearch-ci-bot
Copy link
Copy Markdown
Collaborator

❌   Gradle Check failure 5b1be0a
Log 2987

Reports 2987

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