Skip to content

Make sure no AST types are bare slices #48406

Make sure no AST types are bare slices

Make sure no AST types are bare slices #48406

Triggered via pull request February 3, 2025 14:20
Status Failure
Total duration 4m 41s
Artifacts

endtoend.yml

on: pull_request
End-to-End Test
4m 15s
End-to-End Test
Fit to window
Zoom out
Zoom in

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)