Skip to content
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

Reintroduce negative epoch_millis #1991 (#2232) #2380

Merged

Conversation

br3no
Copy link
Contributor

@br3no br3no commented Mar 7, 2022

Backport of #2232.

…-project#2232)

* Reintroduce negative epoch_millis opensearch-project#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 <[email protected]>

* applying spotless fix

Signed-off-by: Breno Faria <[email protected]>

* more conservative implementation of isSupportedBy

Signed-off-by: Breno Faria <[email protected]>

* adding braces to control flow statement

Signed-off-by: Breno Faria <[email protected]>

* spotless fix...

Signed-off-by: Breno Faria <[email protected]>

Co-authored-by: Breno Faria <[email protected]>
@opensearch-ci-bot
Copy link
Collaborator

Can one of the admins verify this patch?

@opensearch-ci-bot
Copy link
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