Skip to content

Commit 433d638

Browse files
committed
update tests
1 parent a18fc8c commit 433d638

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/LocalPhysicalPlanOptimizerTests.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@
7373
import org.elasticsearch.xpack.esql.plan.physical.LimitExec;
7474
import org.elasticsearch.xpack.esql.plan.physical.LocalSourceExec;
7575
import org.elasticsearch.xpack.esql.plan.physical.MvExpandExec;
76+
import org.elasticsearch.xpack.esql.plan.physical.ParallelExec;
7677
import org.elasticsearch.xpack.esql.plan.physical.PhysicalPlan;
7778
import org.elasticsearch.xpack.esql.plan.physical.ProjectExec;
7879
import org.elasticsearch.xpack.esql.plan.physical.TimeSeriesAggregateExec;
@@ -1864,7 +1865,8 @@ public void testPushDownFieldExtractToTimeSeriesSource() {
18641865
var timeSeriesFinalAgg = as(partialAgg.child(), TimeSeriesAggregateExec.class);
18651866
var exchange = as(timeSeriesFinalAgg.child(), ExchangeExec.class);
18661867
var timeSeriesPartialAgg = as(exchange.child(), TimeSeriesAggregateExec.class);
1867-
var timeSeriesSource = as(timeSeriesPartialAgg.child(), TimeSeriesSourceExec.class);
1868+
var parallel = as(timeSeriesPartialAgg.child(), ParallelExec.class);
1869+
var timeSeriesSource = as(parallel.child(), TimeSeriesSourceExec.class);
18681870
assertThat(timeSeriesSource.attributesToExtract(), hasSize(1));
18691871
FieldAttribute field = as(timeSeriesSource.attributesToExtract().getFirst(), FieldAttribute.class);
18701872
assertThat(field.name(), equalTo("network.total_bytes_in"));

0 commit comments

Comments
 (0)