Class InfoCommandPlanUtils
java.lang.Object
org.elasticsearch.xpack.esql.plan.logical.InfoCommandPlanUtils
Shared helpers for
MetricsInfo and TsInfo plan construction.
Info commands require _doc metadata on the source relation so logical optimizers retain it
when union-type resolution injects Eval+Project nodes below the command (see #145766).
-
Method Summary
Modifier and TypeMethodDescriptionstatic LogicalPlaninjectDocAttribute(Source source, LogicalPlan input) Ensures the TS source relation beneath an info command requests_docmetadata.
-
Method Details
-
injectDocAttribute
Ensures the TS source relation beneath an info command requests_docmetadata.
-