Skip to content

Commit b737fbe

Browse files
Make test case e2e compatible.
Signed-off-by: Arthur Schreiber <[email protected]>
1 parent db1d3ce commit b737fbe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

go/vt/vtgate/planbuilder/testdata/select_cases.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5452,11 +5452,11 @@
54525452
},
54535453
{
54545454
"comment": "Joining with a subquery that uses an aggregate column and an `EqualUnique` route with additional subquery can be merged together",
5455-
"query": "SELECT music.id FROM music INNER JOIN (SELECT MAX(id) as maxt FROM music WHERE music.user_id = 5 AND music.foobar NOT IN (SELECT foobar FROM music_extra WHERE music_extra.user_id = 5)) other ON other.maxt = music.id",
5455+
"query": "SELECT music.id FROM music INNER JOIN (SELECT MAX(id) as maxt FROM music WHERE music.user_id = 5 AND music.col NOT IN (SELECT col FROM user WHERE user.user_id = 5)) other ON other.maxt = music.id",
54565456
"plan": {
54575457
"Type": "Passthrough",
54585458
"QueryType": "SELECT",
5459-
"Original": "SELECT music.id FROM music INNER JOIN (SELECT MAX(id) as maxt FROM music WHERE music.user_id = 5 AND music.foobar NOT IN (SELECT foobar FROM music_extra WHERE music_extra.user_id = 5)) other ON other.maxt = music.id",
5459+
"Original": "SELECT music.id FROM music INNER JOIN (SELECT MAX(id) as maxt FROM music WHERE music.user_id = 5 AND music.col NOT IN (SELECT col FROM user WHERE user.user_id = 5)) other ON other.maxt = music.id",
54605460
"Instructions": {
54615461
"OperatorType": "Route",
54625462
"Variant": "EqualUnique",

0 commit comments

Comments
 (0)