Skip to content

ES|QL: do not calculate query plan diff when not needed#137721

Merged
luigidellaquila merged 2 commits intoelastic:mainfrom
luigidellaquila:esql/no_query_diff
Nov 7, 2025
Merged

ES|QL: do not calculate query plan diff when not needed#137721
luigidellaquila merged 2 commits intoelastic:mainfrom
luigidellaquila:esql/no_query_diff

Conversation

@luigidellaquila
Copy link
Contributor

Calculate the query plan diff only when log trace is enabled.
This will save significant memory and computation time for complex execution plans

@luigidellaquila luigidellaquila added >enhancement :Analytics/ES|QL AKA ESQL auto-backport Automatically create backport pull requests when merged branch:9.2 branch:9.1 branch:8.19 labels Nov 7, 2025
@elasticsearchmachine elasticsearchmachine added Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) v9.2.2 v8.19.8 v9.1.8 labels Nov 7, 2025
@elasticsearchmachine
Copy link
Collaborator

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

@elasticsearchmachine elasticsearchmachine added the Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) label Nov 7, 2025
@luigidellaquila luigidellaquila enabled auto-merge (squash) November 7, 2025 11:35
@elasticsearchmachine
Copy link
Collaborator

Hi @luigidellaquila, I've created a changelog YAML for you.

@luigidellaquila luigidellaquila merged commit c436025 into elastic:main Nov 7, 2025
34 checks passed
luigidellaquila added a commit to luigidellaquila/elasticsearch that referenced this pull request Nov 7, 2025
@elasticsearchmachine
Copy link
Collaborator

💔 Backport failed

Status Branch Result
9.2
8.19 Commit could not be cherrypicked due to conflicts
9.1 Commit could not be cherrypicked due to conflicts

You can use sqren/backport to manually backport by running backport --upstream elastic/elasticsearch --pr 137721

@luigidellaquila
Copy link
Contributor Author

The failed backports are not needed, 9.1 and 8.19 don't have that line

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 backport pending >enhancement Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) v8.19.8 v9.1.8 v9.2.2 v9.3.0

4 participants