Skip to content

Commit 919813c

Browse files
committed
Add VirtualTimestamp in to query service response
1 parent 87b7567 commit 919813c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ydb/public/api/protos/ydb_query.proto

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import "ydb/public/api/protos/ydb_operation.proto";
1313
import "ydb/public/api/protos/ydb_query_stats.proto";
1414
import "ydb/public/api/protos/ydb_status_codes.proto";
1515
import "ydb/public/api/protos/ydb_value.proto";
16+
import "ydb/public/api/protos/ydb_common.proto";
1617

1718
message CreateSessionRequest {
1819
}
@@ -200,6 +201,9 @@ message ExecuteQueryResponsePart {
200201
Ydb.TableStats.QueryStats exec_stats = 5;
201202

202203
TransactionMeta tx_meta = 6;
204+
205+
// Optional snapshot that corresponds to the returned data
206+
VirtualTimestamp snapshot = 8;
203207
}
204208

205209
message ExecuteScriptRequest {

0 commit comments

Comments
 (0)