Skip to content

Commit 3b70009

Browse files
committed
update variable names
1 parent 69276a3 commit 3b70009

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sql/plan/group_by.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,9 @@ func (g *GroupBy) DebugString() string {
151151
pr := sql.NewTreePrinter()
152152
_ = pr.WriteNode("GroupBy")
153153

154-
var selectedExprs = make([]string, len(g.SelectDeps))
154+
var selectDeps = make([]string, len(g.SelectDeps))
155155
for i, e := range g.SelectDeps {
156-
selectedExprs[i] = sql.DebugString(e)
156+
selectDeps[i] = sql.DebugString(e)
157157
}
158158

159159
var grouping = make([]string, len(g.GroupByExprs))
@@ -162,7 +162,7 @@ func (g *GroupBy) DebugString() string {
162162
}
163163

164164
_ = pr.WriteChildren(
165-
fmt.Sprintf("select: %s", strings.Join(selectedExprs, ", ")),
165+
fmt.Sprintf("select: %s", strings.Join(selectDeps, ", ")),
166166
fmt.Sprintf("group: %s", strings.Join(grouping, ", ")),
167167
sql.DebugString(g.Child),
168168
)

0 commit comments

Comments
 (0)