We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e0ef78 commit 057381aCopy full SHA for 057381a
x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/physical/MergeExec.java
@@ -23,13 +23,14 @@ public class MergeExec extends PhysicalPlan {
23
24
public MergeExec(Source source, List<PhysicalPlan> children, List<Attribute> output) {
25
super(source, children);
26
- // this.physSubPlans = physSubPlans;
27
this.output = output;
28
}
29
+ /**
30
+ * Extracts the children as a list of suppliers. All children must be LocalSourceExec.
31
+ */
32
public List<LocalSupplier> suppliers() {
33
return children().stream()
- .filter(p -> LocalSourceExec.class.isAssignableFrom(p.getClass()))
34
.map(LocalSourceExec.class::cast)
35
.map(LocalSourceExec::supplier)
36
.toList();
0 commit comments