Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
max-hoffman committed Jan 13, 2025
1 parent c82fa48 commit 5bfb2ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sql/planbuilder/factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ func (f *factory) buildSort(child sql.Node, exprs []sql.SortField, deps sql.ColS
aliases = append(aliases, p)
}
}
aliasCols := plan.ExprDeps(aliases)
aliasCols := plan.ExprDeps(aliases...)
if !aliasCols.Intersects(deps) {
newP := plan.NewProject(p.Projections, plan.NewSort(exprs, p.Child))
return f.buildProject(newP, subquery)
Expand Down

0 comments on commit 5bfb2ab

Please sign in to comment.