Skip to content

Commit 79df09d

Browse files
committed
Remove duplicate SetBuilder call that caused cyclic primitive graph
1 parent 32052e4 commit 79df09d

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

internal/stackql/primitivegenerator/select.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -224,11 +224,6 @@ func (pb *standardPrimitiveGenerator) analyzeSelect(pbi planbuilderinput.PlanBui
224224
selCtx := dp.GetSelectCtx()
225225
pChild.GetPrimitiveComposer().SetBuilder(bld)
226226
pb.PrimitiveComposer.SetSelectPreparedStatementCtx(selCtx)
227-
// For indirects (subqueries, views, etc.), also set the builder on the indirect's
228-
// primitive composer so it can be found when parent's GetBuilder() iterates.
229-
if pb.PrimitiveComposer.IsIndirect() {
230-
pb.PrimitiveComposer.SetBuilder(bld)
231-
}
232227
return nil
233228
}
234229
}

0 commit comments

Comments
 (0)