Skip to content

Commit

Permalink
Fix merge issues
Browse files Browse the repository at this point in the history
Signed-off-by: Rohit Nayak <[email protected]>
  • Loading branch information
rohit-nayak-ps committed Nov 5, 2024
1 parent 466454d commit 8fce537
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
7 changes: 0 additions & 7 deletions go/vt/vtgate/semantics/analyzer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1259,16 +1259,9 @@ var ks3 = &vindexes.Keyspace{
func fakeSchemaInfo() *FakeSI {
si := &FakeSI{
Tables: map[string]*vindexes.Table{
<<<<<<< HEAD
"t": tableT(),
"t1": tableT1(),
"t2": tableT2(),
=======
"t": {Name: sqlparser.NewIdentifierCS("t"), Keyspace: unsharded},
"t3": {Name: sqlparser.NewIdentifierCS("t3"), Keyspace: unsharded},
"t1": {Name: sqlparser.NewIdentifierCS("t1"), Columns: cols1, ColumnListAuthoritative: true, Keyspace: ks2},
"t2": {Name: sqlparser.NewIdentifierCS("t2"), Columns: cols2, ColumnListAuthoritative: true, Keyspace: ks3},
>>>>>>> 5c08da6a5d (Bugfix for Panic on Joined Queries with Non-Authoritative Tables in Vitess 19.0 (#17103))
},
}
return si
Expand Down
2 changes: 1 addition & 1 deletion go/vt/vtgate/semantics/early_rewriter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -749,7 +749,7 @@ func TestOrderByNotAllColumnsAuthoritative(t *testing.T) {
}}
for _, tcase := range tcases {
t.Run(tcase.sql, func(t *testing.T) {
ast, err := sqlparser.NewTestParser().Parse(tcase.sql)
ast, err := sqlparser.Parse(tcase.sql)
require.NoError(t, err)
selectStatement := ast.(sqlparser.SelectStatement)
semTable, err := Analyze(selectStatement, cDB, schemaInfo)
Expand Down

0 comments on commit 8fce537

Please sign in to comment.