Class SplitDiscoveryPhase
java.lang.Object
org.elasticsearch.xpack.esql.datasources.SplitDiscoveryPhase
Walks the physical plan tree, discovers splits for each
ExternalSourceExec,
and replaces them with split-enriched copies via ExternalSourceExec.withSplits(java.util.List<org.elasticsearch.xpack.esql.datasources.spi.ExternalSplit>).
Filter expressions from FilterExec ancestors are collected per-source so that
each ExternalSourceExec only receives filters from its own ancestor chain, not
from unrelated branches of the plan tree.
-
Method Summary
Modifier and TypeMethodDescriptionstatic PhysicalPlanresolveExternalSplits(PhysicalPlan plan, Map<String, ExternalSourceFactory> sourceFactories)
-
Method Details
-
resolveExternalSplits
public static PhysicalPlan resolveExternalSplits(PhysicalPlan plan, Map<String, ExternalSourceFactory> sourceFactories)
-