Skip to content

Commit b8edd48

Browse files
committed
Remove assertion
1 parent fc2f8fc commit b8edd48

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/planner/LocalExecutionPlanner.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,6 @@ private PhysicalOperation planExchangeSource(ExchangeSourceExec exchangeSource,
359359

360360
private PhysicalOperation planTopN(TopNExec topNExec, LocalExecutionPlannerContext context) {
361361
final Integer rowSize = topNExec.estimatedRowSize();
362-
assert rowSize != null && rowSize > 0 : "estimated row size [" + rowSize + "] wasn't set";
363362
PhysicalOperation source = plan(topNExec.child(), context);
364363

365364
ElementType[] elementTypes = new ElementType[source.layout.numberOfChannels()];

0 commit comments

Comments
 (0)