Skip to content

Conversation

@original-brownbear
Copy link
Contributor

Another small random find from hunting down terms aggs issues.
No need for recursion here. We don't allow nested compound order instances so this thing works exactly as the JavaDoc states and we only need to check one level down.

No need for recursion here. We don't allow nested compound order instances
so this thing works exactly as the JavaDoc states and we only need to check
one level down.
@elasticsearchmachine elasticsearchmachine added the Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) label Feb 12, 2025
@elasticsearchmachine
Copy link
Collaborator

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

@original-brownbear original-brownbear added the auto-backport Automatically create backport pull requests when merged label Feb 12, 2025
@original-brownbear
Copy link
Contributor Author

Thanks Nik!

@original-brownbear original-brownbear merged commit ac03aa4 into elastic:main Feb 12, 2025
17 checks passed
@original-brownbear original-brownbear deleted the cleanup-order-check branch February 12, 2025 14:55
@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
8.x

original-brownbear added a commit to original-brownbear/elasticsearch that referenced this pull request Feb 12, 2025
No need for recursion here. We don't allow nested compound order instances
so this thing works exactly as the JavaDoc states and we only need to check
one level down.
elasticsearchmachine pushed a commit that referenced this pull request Aug 11, 2025
* Simplify InternalOrder.isOrder a little (#122372)

No need for recursion here. We don't allow nested compound order instances
so this thing works exactly as the JavaDoc states and we only need to check
one level down.

* update after review

---------

Co-authored-by: Dimitris Rempapis <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Analytics/Aggregations Aggregations auto-backport Automatically create backport pull requests when merged >non-issue Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) v8.19.0 v9.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants