Make sure no AST types are bare slices #48406
Annotations
10 errors
End-to-End Test:
go/vt/vtgate/semantics/early_rewriter.go#L233
cannot use node (variable of type sqlparser.SelectExprs) as *sqlparser.SelectExprs2 value in argument to r.expandStar
|
End-to-End Test:
go/vt/vtgate/semantics/early_rewriter.go#L897
cannot use colNames (variable of type *sqlparser.SelectExprs2) as []sqlparser.SelectExpr value in argument to append
|
End-to-End Test:
go/vt/vtgate/semantics/real_table.go#L135
cannot use selectExprs (variable of type *sqlparser.SelectExprs2) as sqlparser.SelectExprs value in argument to extractColumnsFromCTE
|
End-to-End Test:
go/vt/vtgate/semantics/real_table.go#L139
cannot use selectExprs (variable of type *sqlparser.SelectExprs2) as sqlparser.SelectExprs value in argument to extractSelectExprsFromCTE
|
End-to-End Test:
go/vt/vtgate/semantics/scoper.go#L300
cannot use sel.GetColumns() (value of type *sqlparser.SelectExprs2) as sqlparser.SelectExprs value in argument to createVTableInfoForExpressions
|
End-to-End Test:
go/vt/vtgate/semantics/scoper.go#L304
cannot use sel.GetColumns() (value of type *sqlparser.SelectExprs2) as sqlparser.SelectExprs value in argument to createVTableInfoForExpressions
|
End-to-End Test:
go/vt/vtgate/semantics/table_collector.go#L161
cannot use firstSelect.GetColumns() (value of type *sqlparser.SelectExprs2) as sqlparser.SelectExprs value in argument to getColumnNames
|
End-to-End Test:
go/vt/vtgate/semantics/table_collector.go#L164
cannot use selectExprs (variable of type sqlparser.SelectExprs) as *sqlparser.SelectExprs2 value in struct literal
|
End-to-End Test:
go/vt/vtgate/semantics/table_collector.go#L177
cannot range over s.SelectExprs (variable of type *sqlparser.SelectExprs2)
|
End-to-End Test:
go/vt/vtgate/semantics/table_collector.go#L427
cannot range over firstSelect.GetColumns() (value of type *sqlparser.SelectExprs2)
|