Skip to content

Commit

Permalink
ESQL: Fix LogicalPlanOptimizerTests testPlanSanityCheckWithBinaryPlans (
Browse files Browse the repository at this point in the history
#118672) (#118689)

(cherry picked from commit 54e839b)

# Conflicts:
#	muted-tests.yml
  • Loading branch information
alex-spies authored Dec 13, 2024
1 parent 618f898 commit 1fec8c0
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4911,8 +4911,7 @@ public void testPlanSanityCheckWithBinaryPlans() throws Exception {
""");

var project = as(plan, Project.class);
var limit = as(project.child(), Limit.class);
var join = as(limit.child(), Join.class);
var join = as(project.child(), Join.class);

var joinWithInvalidLeftPlan = join.replaceChildren(join.right(), join.right());
IllegalStateException e = expectThrows(IllegalStateException.class, () -> logicalOptimizer.optimize(joinWithInvalidLeftPlan));
Expand Down

0 comments on commit 1fec8c0

Please sign in to comment.