We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b75f3b7 commit 117a924Copy full SHA for 117a924
sql/memo/expr_group.go
@@ -48,18 +48,8 @@ func (e *ExprGroup) Format(f fmt.State, verb rune) {
48
expr = e.First
49
}
50
switch ex := expr.(type) {
51
- case *TableAlias:
52
- io.WriteString(f, fmt.Sprintf("%d", ex.Group().Id))
53
- io.WriteString(f, "[")
54
- io.WriteString(f, ex.Name())
55
- io.WriteString(f, "]")
56
- case *TableScan:
57
58
59
60
61
- case *SubqueryAlias:
62
+ case sql.Nameable:
+ io.WriteString(f, fmt.Sprintf("%d", expr.Group().Id))
63
io.WriteString(f, "[")
64
io.WriteString(f, ex.Name())
65
io.WriteString(f, "]")
0 commit comments