From c02c77cc33fa045fd632b4a1712873bd4617f279 Mon Sep 17 00:00:00 2001 From: Tim Vaillancourt Date: Thu, 9 Nov 2023 22:44:30 +0100 Subject: [PATCH] Update expected plan in aggr_cases.json Signed-off-by: Tim Vaillancourt --- go/vt/vtgate/planbuilder/testdata/aggr_cases.json | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/go/vt/vtgate/planbuilder/testdata/aggr_cases.json b/go/vt/vtgate/planbuilder/testdata/aggr_cases.json index d6bb04c4ae7..ce4f4b00fc7 100644 --- a/go/vt/vtgate/planbuilder/testdata/aggr_cases.json +++ b/go/vt/vtgate/planbuilder/testdata/aggr_cases.json @@ -4466,14 +4466,12 @@ "Instructions": { "OperatorType": "Aggregate", "Variant": "Ordered", - "Aggregates": "random(0) AS id", - "GroupBy": "(2|1)", + "GroupBy": "(1|0)", "ResultColumns": 1, "Inputs": [ { "OperatorType": "Projection", "Expressions": [ - "[COLUMN 2] as id", "[COLUMN 1]", "[COLUMN 0] as id" ], @@ -4481,7 +4479,7 @@ { "OperatorType": "Join", "Variant": "Join", - "JoinColumnIndexes": "L:0,L:1,L:0", + "JoinColumnIndexes": "L:0,L:1", "TableName": "`user`_user_extra", "Inputs": [ { @@ -4503,8 +4501,8 @@ "Name": "user", "Sharded": true }, - "FieldQuery": "select 1 from user_extra where 1 != 1 group by 1", - "Query": "select 1 from user_extra group by 1", + "FieldQuery": "select 1 from user_extra where 1 != 1", + "Query": "select 1 from user_extra", "Table": "user_extra" } ]