Skip to content

Commit

Permalink
spool: Fix an error in exchange SimpleChildBuilder
Browse files Browse the repository at this point in the history
  • Loading branch information
gortiz committed Oct 29, 2024
1 parent 257a83a commit 9be76e4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public SimpleChildBuilder<JoinNode> join(
public SimpleChildBuilder<MailboxReceiveNode> exchange(
int nextStageId, SimpleChildBuilder<? extends PlanNode> childBuilder) {
return (stageId, mySchema, myHints) -> {
PlanNode input = childBuilder.build(stageId);
PlanNode input = childBuilder.build(nextStageId);
MailboxSendNode mailboxSendNode = new MailboxSendNode(nextStageId, null, List.of(input), stageId, null, null,
null, false, null, false);
MailboxSendNode old = _stageRoots.put(nextStageId, mailboxSendNode);
Expand Down

0 comments on commit 9be76e4

Please sign in to comment.