Skip to content

Commit bba536d

Browse files
author
James Cor
committed
remove todo
1 parent ddcb382 commit bba536d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

sql/analyzer/replace_sort.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,6 @@ func replaceIdxSortHelper(ctx *sql.Context, scope *plan.Scope, node sql.Node, so
153153
var err error
154154
same := transform.SameTree
155155
switch c := child.(type) {
156-
// TODO: include distinct here?
157156
case *plan.Project, *plan.TableAlias, *plan.ResolvedTable, *plan.Filter, *plan.Limit, *plan.Offset, *plan.Sort, *plan.IndexedTableAccess, *plan.Distinct:
158157
newChildren[i], same, err = replaceIdxSortHelper(ctx, scope, child, sortNode)
159158
default:

0 commit comments

Comments
 (0)