Skip to content

Commit 869c2b8

Browse files
authored
fix: fix the wrong error return value (#528)
Signed-off-by: drawdrop <[email protected]>
1 parent 1a6d312 commit 869c2b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/stackql/planbuilder/plan_builder.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ func (pgb *standardPlanGraphBuilder) handleSelect(
537537
}
538538
pr, prErr := primitivebuilder.NewLocalSelectExecutor(handlerCtx, node, util.DefaultRowSort, colz)
539539
if prErr != nil {
540-
return nil, nil, err
540+
return nil, nil, prErr
541541
}
542542
rv := pgb.planGraphHolder.CreatePrimitiveNode(pr)
543543
return rv, rv, nil

0 commit comments

Comments
 (0)