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

EQL: Change result_position default value from head to tail #66387

Merged
merged 2 commits into from
Dec 17, 2020

Conversation

costin
Copy link
Member

@costin costin commented Dec 15, 2020

No description provided.

@costin costin requested a review from astefan December 15, 2020 17:29
@elasticmachine elasticmachine added the Team:QL (Deprecated) Meta label for query languages team label Dec 15, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-ql (Team:QL)

@costin
Copy link
Member Author

costin commented Dec 15, 2020

Something fishy is going on - I get failures with the message "indices.upgrade API does not declare its visibility explicitly in ... [indices.upgrade.json]" which throws the YAML tests off. Raising the PR anyway to see whether the CI catches something else.

@costin
Copy link
Member Author

costin commented Dec 15, 2020

/cc @jrodewig @spong @yctercero

@costin costin added the >bug label Dec 15, 2020
@costin
Copy link
Member Author

costin commented Dec 15, 2020

Marking this is as a bug since some correctness tests are failing.

@costin costin force-pushed the eql/desc-by-default branch from d92b2ce to 4daa86e Compare December 17, 2020 12:02
@costin
Copy link
Member Author

costin commented Dec 17, 2020

Incorporated the bug fix in #66493 and updated the PR to get the builds running.

Copy link
Contributor

@astefan astefan left a comment

Choose a reason for hiding this comment

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

LGTM

@costin costin force-pushed the eql/desc-by-default branch from 4daa86e to fd18cc4 Compare December 17, 2020 16:36
@costin costin force-pushed the eql/desc-by-default branch from fd18cc4 to aec9d8c Compare December 17, 2020 16:46
@costin
Copy link
Member Author

costin commented Dec 17, 2020

@elasticmachine update branch

@costin costin merged commit 2f50423 into elastic:master Dec 17, 2020
@costin costin deleted the eql/desc-by-default branch December 17, 2020 18:41
costin added a commit that referenced this pull request Dec 17, 2020
By default, if no pipe is specified, EQL will return return matchings from the tail, end of the stream,  not the front. The results are returned in ascending order.

(cherry picked from commit 2f50423)
costin added a commit that referenced this pull request Dec 17, 2020
By default, if no pipe is specified, EQL return results from the tail,
end of the stream,  not the front. The results are returned in ascending
 order.

(cherry picked from commit 2f50423)
(cherry picked from commit 946b0ac)
(cherry picked from commit 3382f36)
@costin
Copy link
Member Author

costin commented Dec 17, 2020

Backported to 7.x and 7.11. /cc @jrodewig

rylnd added a commit to rylnd/kibana that referenced this pull request Jan 5, 2021
We were previously using what is effectively `results | head` to
retrieve the desired amount of results. The default behavior was changed
in elastic/elasticsearch#66387, which caused these tests to fail as
different results were returned over such a large dataset.
rylnd added a commit to elastic/kibana that referenced this pull request Jan 5, 2021
…87254)

* Re-enable test skipped due to temporary failure

This failure may still be present/intermittent, but it passes reliably
locally; trying again on CI to check status.

* Triggering build

This should fail on the latest snapshot

* Update EQL integration tests to reflect new default pipe

We were previously using what is effectively `results | head` to
retrieve the desired amount of results. The default behavior was changed
in elastic/elasticsearch#66387, which caused these tests to fail as
different results were returned over such a large dataset.

Co-authored-by: Kibana Machine <[email protected]>
rylnd added a commit to rylnd/kibana that referenced this pull request Jan 5, 2021
…lastic#87254)

* Re-enable test skipped due to temporary failure

This failure may still be present/intermittent, but it passes reliably
locally; trying again on CI to check status.

* Triggering build

This should fail on the latest snapshot

* Update EQL integration tests to reflect new default pipe

We were previously using what is effectively `results | head` to
retrieve the desired amount of results. The default behavior was changed
in elastic/elasticsearch#66387, which caused these tests to fail as
different results were returned over such a large dataset.

Co-authored-by: Kibana Machine <[email protected]>
rylnd added a commit to rylnd/kibana that referenced this pull request Jan 5, 2021
…lastic#87254)

* Re-enable test skipped due to temporary failure

This failure may still be present/intermittent, but it passes reliably
locally; trying again on CI to check status.

* Triggering build

This should fail on the latest snapshot

* Update EQL integration tests to reflect new default pipe

We were previously using what is effectively `results | head` to
retrieve the desired amount of results. The default behavior was changed
in elastic/elasticsearch#66387, which caused these tests to fail as
different results were returned over such a large dataset.

Co-authored-by: Kibana Machine <[email protected]>
rylnd added a commit to elastic/kibana that referenced this pull request Jan 6, 2021
…87254) (#87397)

* Re-enable test skipped due to temporary failure

This failure may still be present/intermittent, but it passes reliably
locally; trying again on CI to check status.

* Triggering build

This should fail on the latest snapshot

* Update EQL integration tests to reflect new default pipe

We were previously using what is effectively `results | head` to
retrieve the desired amount of results. The default behavior was changed
in elastic/elasticsearch#66387, which caused these tests to fail as
different results were returned over such a large dataset.

Co-authored-by: Kibana Machine <[email protected]>

Co-authored-by: Kibana Machine <[email protected]>
rylnd added a commit to elastic/kibana that referenced this pull request Jan 6, 2021
…87254) (#87396)

* Re-enable test skipped due to temporary failure

This failure may still be present/intermittent, but it passes reliably
locally; trying again on CI to check status.

* Triggering build

This should fail on the latest snapshot

* Update EQL integration tests to reflect new default pipe

We were previously using what is effectively `results | head` to
retrieve the desired amount of results. The default behavior was changed
in elastic/elasticsearch#66387, which caused these tests to fail as
different results were returned over such a large dataset.

Co-authored-by: Kibana Machine <[email protected]>

Co-authored-by: Kibana Machine <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants