-
Notifications
You must be signed in to change notification settings - Fork 25.8k
ES|QL: PruneColumns fails to prune columns when forked #136365
Copy link
Copy link
Closed
Labels
:Search Relevance/ES|QLSearch functionality in ES|QLSearch functionality in ES|QL:SearchOrg/RelevanceLabel for the Search (solution/org) Relevance teamLabel for the Search (solution/org) Relevance team>bugTeam:Search - RelevanceThe Search organization Search Relevance teamThe Search organization Search Relevance teamTeam:Search RelevanceMeta label for the Search Relevance team in ElasticsearchMeta label for the Search Relevance team in Elasticsearchpriority:normalA label for assessing bug priority to be used by ES engineersA label for assessing bug priority to be used by ES engineers
Metadata
Metadata
Assignees
Labels
:Search Relevance/ES|QLSearch functionality in ES|QLSearch functionality in ES|QL:SearchOrg/RelevanceLabel for the Search (solution/org) Relevance teamLabel for the Search (solution/org) Relevance team>bugTeam:Search - RelevanceThe Search organization Search Relevance teamThe Search organization Search Relevance teamTeam:Search RelevanceMeta label for the Search Relevance team in ElasticsearchMeta label for the Search Relevance team in Elasticsearchpriority:normalA label for assessing bug priority to be used by ES engineersA label for assessing bug priority to be used by ES engineers
Type
Fields
Give feedbackNo fields configured for issues without a type.
Consider this simple query:
In this case, the
PruneColumnsrule will removeEVAL xin the first (non-local) logical optimization.But for this query:
It will not. The
xfield will eventually get dropped in the local logical optimization, but this might be too late, e.g., when performing the late materialization added in #132757.