Skip to content

Commit 2f7ea2d

Browse files
authored
Merge 0dfaaaa into 6c52ddb
2 parents 6c52ddb + 0dfaaaa commit 2f7ea2d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

ydb/public/api/protos/draft/fq.proto

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import "google/protobuf/empty.proto";
1919

2020
// === Query API ===
2121

22-
// Header: ydb-fq-project => yandexcloud://cloud_id/folder_id
22+
// Header: ydb-fq-project => yandexcloud://folder_id
2323

2424
message Acl {
2525
enum Visibility {
@@ -126,8 +126,10 @@ message QueryContent {
126126
// "executor" - type of executor for this query
127127
map<string, string> execution_settings = 10 [(Ydb.map_key).length.range = {min: 1, max: 100}, (Ydb.length).le = 4096];
128128
// Syntax of the text
129-
// By default it is "yql", but additional syntax "pg" (PostreSQL SQL frontend) is supported as well
129+
// By default it is "yql", but additional syntax "pg" (PostgreSQL SQL frontend) is supported as well
130130
QuerySyntax syntax = 11;
131+
// Map of query parameters
132+
map<string, Ydb.TypedValue> parameters = 12 [(Ydb.map_key).length.range = {min: 1, max: 100}];
131133
}
132134

133135
message CommonMeta {
@@ -372,6 +374,7 @@ message Job {
372374
bool automatic = 11;
373375
google.protobuf.Timestamp expire_at = 12;
374376
QueryContent.QuerySyntax syntax = 13;
377+
map<string, Ydb.TypedValue> parameters = 14;
375378
}
376379

377380
// Information about recent query runs

0 commit comments

Comments
 (0)