Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docs/changelog/122762.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
pr: 122762
summary: "ESQL: Remove estimated row size assertion"
area: ES|QL
type: bug
issues:
- 121535
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,6 @@ private PhysicalOperation planExchangeSource(ExchangeSourceExec exchangeSource,

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

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