Skip to content

Esql - Fix lucene push down behavior when a range contains nanos and millis #125595

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

Merged

Conversation

not-napoleon
Copy link
Member

Follow up to #125345. If the query contained both a nanos and a millis comparison, we were formatting the dates incorrectly for the lucene push down. This PR adds a test and a fix for that case.

@not-napoleon not-napoleon added >bug auto-backport Automatically create backport pull requests when merged :Analytics/ES|QL AKA ESQL v9.0.0 v8.18.0 v8.19.0 v9.1.0 labels Mar 25, 2025
@elasticsearchmachine elasticsearchmachine added the Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) label Mar 25, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-analytical-engine (Team:Analytics)

@elasticsearchmachine
Copy link
Collaborator

Hi @not-napoleon, I've created a changelog YAML for you.

Copy link
Member

@fang-xing-esql fang-xing-esql left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@not-napoleon not-napoleon enabled auto-merge (squash) March 25, 2025 17:20
@not-napoleon not-napoleon merged commit 2e6e71a into elastic:main Mar 25, 2025
17 checks passed
not-napoleon added a commit to not-napoleon/elasticsearch that referenced this pull request Mar 25, 2025
…millis (elastic#125595)

Follow up to elastic#125345. If the query contained both a nanos and a millis comparison, we were formatting the dates incorrectly for the lucene push down. This PR adds a test and a fix for that case.
---------

Co-authored-by: elasticsearchmachine <infra-root+elasticsearchmachine@elastic.co>
@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
9.0
8.18
8.x

not-napoleon added a commit to not-napoleon/elasticsearch that referenced this pull request Mar 25, 2025
…millis (elastic#125595)

Follow up to elastic#125345. If the query contained both a nanos and a millis comparison, we were formatting the dates incorrectly for the lucene push down. This PR adds a test and a fix for that case.
---------

Co-authored-by: elasticsearchmachine <infra-root+elasticsearchmachine@elastic.co>
not-napoleon added a commit to not-napoleon/elasticsearch that referenced this pull request Mar 25, 2025
…millis (elastic#125595)

Follow up to elastic#125345. If the query contained both a nanos and a millis comparison, we were formatting the dates incorrectly for the lucene push down. This PR adds a test and a fix for that case.
---------

Co-authored-by: elasticsearchmachine <infra-root+elasticsearchmachine@elastic.co>
elasticsearchmachine pushed a commit that referenced this pull request Mar 25, 2025
…millis (#125595) (#125617)

Follow up to #125345. If the query contained both a nanos and a millis comparison, we were formatting the dates incorrectly for the lucene push down. This PR adds a test and a fix for that case.
---------

Co-authored-by: elasticsearchmachine <infra-root+elasticsearchmachine@elastic.co>
elasticsearchmachine pushed a commit that referenced this pull request Mar 25, 2025
…millis (#125595) (#125618)

Follow up to #125345. If the query contained both a nanos and a millis comparison, we were formatting the dates incorrectly for the lucene push down. This PR adds a test and a fix for that case.
---------

Co-authored-by: elasticsearchmachine <infra-root+elasticsearchmachine@elastic.co>
elasticsearchmachine pushed a commit that referenced this pull request Mar 25, 2025
…millis (#125595) (#125619)

Follow up to #125345. If the query contained both a nanos and a millis comparison, we were formatting the dates incorrectly for the lucene push down. This PR adds a test and a fix for that case.
---------

Co-authored-by: elasticsearchmachine <infra-root+elasticsearchmachine@elastic.co>
omricohenn pushed a commit to omricohenn/elasticsearch that referenced this pull request Mar 28, 2025
…millis (elastic#125595)

Follow up to elastic#125345. If the query contained both a nanos and a millis comparison, we were formatting the dates incorrectly for the lucene push down. This PR adds a test and a fix for that case.
---------

Co-authored-by: elasticsearchmachine <infra-root+elasticsearchmachine@elastic.co>
not-napoleon added a commit that referenced this pull request Mar 31, 2025
In #125595 I accidentally left some logging at WARN level; this PR corrects that to TRACE.
not-napoleon added a commit to not-napoleon/elasticsearch that referenced this pull request Mar 31, 2025
In elastic#125595 I accidentally left some logging at WARN level; this PR corrects that to TRACE.
not-napoleon added a commit to not-napoleon/elasticsearch that referenced this pull request Mar 31, 2025
In elastic#125595 I accidentally left some logging at WARN level; this PR corrects that to TRACE.
not-napoleon added a commit to not-napoleon/elasticsearch that referenced this pull request Mar 31, 2025
In elastic#125595 I accidentally left some logging at WARN level; this PR corrects that to TRACE.
elasticsearchmachine pushed a commit that referenced this pull request Mar 31, 2025
In #125595 I accidentally left some logging at WARN level; this PR corrects that to TRACE.
elasticsearchmachine pushed a commit that referenced this pull request Mar 31, 2025
In #125595 I accidentally left some logging at WARN level; this PR corrects that to TRACE.
elasticsearchmachine pushed a commit that referenced this pull request Mar 31, 2025
In #125595 I accidentally left some logging at WARN level; this PR corrects that to TRACE.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Analytics/ES|QL AKA ESQL auto-backport Automatically create backport pull requests when merged >bug Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) v8.18.0 v8.19.0 v9.0.0 v9.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants