Skip to content

Commit c89a302

Browse files
committed
Fix PhysicalPlanNodeVisitor test coverage.
Signed-off-by: currantw <[email protected]>
1 parent eca3154 commit c89a302

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

core/src/test/java/org/opensearch/sql/planner/physical/PhysicalPlanNodeVisitorTest.java

+4
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
import static org.opensearch.sql.planner.physical.PhysicalPlanDSL.dedupe;
1818
import static org.opensearch.sql.planner.physical.PhysicalPlanDSL.eval;
1919
import static org.opensearch.sql.planner.physical.PhysicalPlanDSL.filter;
20+
import static org.opensearch.sql.planner.physical.PhysicalPlanDSL.flatten;
2021
import static org.opensearch.sql.planner.physical.PhysicalPlanDSL.limit;
2122
import static org.opensearch.sql.planner.physical.PhysicalPlanDSL.project;
2223
import static org.opensearch.sql.planner.physical.PhysicalPlanDSL.rareTopN;
@@ -129,6 +130,8 @@ public static Stream<Arguments> getPhysicalPlanForTest() {
129130

130131
PhysicalPlan eval = eval(plan, Pair.of(ref, ref));
131132

133+
PhysicalPlan flatten = flatten(plan, ref);
134+
132135
PhysicalPlan sort = sort(plan, Pair.of(SortOption.DEFAULT_ASC, ref));
133136

134137
PhysicalPlan takeOrdered = takeOrdered(plan, 1, 1, Pair.of(SortOption.DEFAULT_ASC, ref));
@@ -161,6 +164,7 @@ public static Stream<Arguments> getPhysicalPlanForTest() {
161164
Arguments.of(window, "window"),
162165
Arguments.of(remove, "remove"),
163166
Arguments.of(eval, "eval"),
167+
Arguments.of(flatten, "flatten"),
164168
Arguments.of(sort, "sort"),
165169
Arguments.of(takeOrdered, "takeOrdered"),
166170
Arguments.of(dedupe, "dedupe"),

0 commit comments

Comments
 (0)