Skip to content

Commit

Permalink
test: update query to use valid column names
Browse files Browse the repository at this point in the history
Signed-off-by: Andres Taylor <andres@planetscale.com>
  • Loading branch information
systay committed Dec 10, 2024
1 parent 0ab3717 commit 4f2a86a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions go/vt/vtgate/planbuilder/testdata/select_cases.json
Original file line number Diff line number Diff line change
Expand Up @@ -2190,10 +2190,10 @@
},
{
"comment": "save column value to session - sharded",
"query": "select bar, 12, last_insert_id(foo) from user",
"query": "select col, 12, last_insert_id(intcol) from user",
"plan": {
"QueryType": "SELECT",
"Original": "select bar, 12, last_insert_id(foo) from user",
"Original": "select col, 12, last_insert_id(intcol) from user",
"Instructions": {
"OperatorType": "SaveToSession",
"Offset": "_vt_column_2",
Expand All @@ -2205,8 +2205,8 @@
"Name": "user",
"Sharded": true
},
"FieldQuery": "select bar, 12, last_insert_id(foo) from `user` where 1 != 1",
"Query": "select bar, 12, last_insert_id(foo) from `user`",
"FieldQuery": "select col, 12, last_insert_id(intcol) from `user` where 1 != 1",
"Query": "select col, 12, last_insert_id(intcol) from `user`",
"Table": "`user`"
}
]
Expand Down

0 comments on commit 4f2a86a

Please sign in to comment.