We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86516c4 commit 6c244f7Copy full SHA for 6c244f7
ydb/core/kqp/ut/opt/kqp_returning_ut.cpp
@@ -229,6 +229,17 @@ Y_UNIT_TEST(ReturningSerial) {
229
CompareYson(R"([[2;[4];[3]]])", FormatResultSetYson(result.GetResultSet(0)));
230
}
231
232
+ {
233
+ const auto query = Q_(R"(
234
+ --!syntax_v1
235
+ UPSERT INTO ReturningTableExtraValue (value, value2) VALUES (4, 5) RETURNING key;
236
+ )");
237
+
238
+ auto result = session.ExecuteDataQuery(query, TTxControl::BeginTx().CommitTx()).GetValueSync();
239
+ UNIT_ASSERT(result.IsSuccess());
240
+ CompareYson(R"([[3]])", FormatResultSetYson(result.GetResultSet(0)));
241
+ }
242
243
{
244
const auto query = Q_(R"(
245
--!syntax_v1
0 commit comments