Skip to content

Conversation

@craigtaverner
Copy link
Contributor

This reduces flakiness of this test.

@craigtaverner craigtaverner added >test Issues or PRs that are addressing/adding tests Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) auto-backport Automatically create backport pull requests when merged :Analytics/ES|QL AKA ESQL v8.16.1 labels Oct 17, 2024
@elasticsearchmachine
Copy link
Collaborator

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

This reduces flakiness of this test.
@craigtaverner craigtaverner force-pushed the less_flaky_inlinesort_aliasname branch from 218f5cd to afe7705 Compare October 17, 2024 10:33
Copy link
Contributor

@alex-spies alex-spies left a comment

Choose a reason for hiding this comment

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

LGTM, thanks Craig!

Making the test more lenient is correct because ReplaceOrderByExpresionWithEval creates this weird $$order_by$0$1 attribute name and the last number comes from a static counter that is never reset. So the exact number will depend on what tests were executed before this one.

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.

Please, add a comment regarding the startsWith choice. Thanks.

Copy link
Contributor

@luigidellaquila luigidellaquila left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@craigtaverner craigtaverner merged commit 6d039c2 into elastic:main Oct 17, 2024
16 checks passed
craigtaverner added a commit to craigtaverner/elasticsearch that referenced this pull request Oct 17, 2024
…nceToSource (elastic#114984)

* Make inline sort alias name a prefix match

This reduces flakiness of this test.

* Added comments on prefix check for variable name
craigtaverner added a commit to craigtaverner/elasticsearch that referenced this pull request Oct 17, 2024
…nceToSource (elastic#114984)

* Make inline sort alias name a prefix match

This reduces flakiness of this test.

* Added comments on prefix check for variable name
@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
8.16
8.x

elasticsearchmachine pushed a commit that referenced this pull request Oct 17, 2024
…nceToSource (#114984) (#115015)

* Make inline sort alias name a prefix match

This reduces flakiness of this test.

* Added comments on prefix check for variable name
craigtaverner added a commit that referenced this pull request Oct 21, 2024
…nceToSource (#114984) (#115014)

* Make inline sort alias name a prefix match

This reduces flakiness of this test.

* Added comments on prefix check for variable name
georgewallace pushed a commit to georgewallace/elasticsearch that referenced this pull request Oct 25, 2024
…nceToSource (elastic#114984)

* Make inline sort alias name a prefix match

This reduces flakiness of this test.

* Added comments on prefix check for variable name
jfreden pushed a commit to jfreden/elasticsearch that referenced this pull request Nov 4, 2024
…nceToSource (elastic#114984)

* Make inline sort alias name a prefix match

This reduces flakiness of this test.

* Added comments on prefix check for variable name
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 Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) >test Issues or PRs that are addressing/adding tests v8.16.1 v8.17.0 v9.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants