summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvitalyisaev <[email protected]>2025-06-17 11:06:12 +0300
committervitalyisaev <[email protected]>2025-06-17 11:29:45 +0300
commitf7aaac2695c3240c383c87f7acf2e6ebb5d98917 (patch)
tree62dbdc54f638918a6d00c93486d94a0609c7b2a1
parent69de2503177c57157e54c87d599b1381e2e1b570 (diff)
YQ: add timeout for calling the DescribeTable method
commit_hash:6c46092aaca9cea5a7a60f10be52c1432d19ea92
-rw-r--r--yql/essentials/providers/common/proto/gateways_config.proto9
1 files changed, 6 insertions, 3 deletions
diff --git a/yql/essentials/providers/common/proto/gateways_config.proto b/yql/essentials/providers/common/proto/gateways_config.proto
index 86fd7f82544..52210fd4d31 100644
--- a/yql/essentials/providers/common/proto/gateways_config.proto
+++ b/yql/essentials/providers/common/proto/gateways_config.proto
@@ -657,7 +657,7 @@ message TMongoDbDataSourceOptions {
// Returns a key-value pair of ObjectID primary key and a JSON serialized document
JSON = 3;
};
-
+
// Ways of dealing with values read in ReadSplit whose types are inconsistent with types that were deduced in DescribeTable
enum EUnexpectedTypeDisplayMode {
UNEXPECTED_UNSPECIFIED = 0;
@@ -671,7 +671,7 @@ message TMongoDbDataSourceOptions {
UNSUPPORTED_OMIT = 1;
UNSUPPORTED_AS_STRING = 2;
};
-
+
optional EReadingMode reading_mode = 1;
optional EUnexpectedTypeDisplayMode unexpected_type_display_mode = 2;
optional EUnsupportedTypeDisplayMode unsupported_type_display_mode = 3;
@@ -851,7 +851,7 @@ message TGenericGatewayConfig {
//
// The list of Connectors.
- //
+ //
// When a request is served, firstly this list is checked.
// If the list has a connector for a request's EGenericDataSourceKind it will
// be applied to that request; otherwise, the "Default Connector" is used.
@@ -869,6 +869,9 @@ message TGenericGatewayConfig {
// [http|https]://host:port/ydbc/cloud-prod/
optional string YdbMvpEndpoint = 7;
+ // Defines timeout for calling the Connector API method `DescribeTable`
+ optional uint64 DescribeTableTimeoutSeconds = 9;
+
repeated TAttr DefaultSettings = 6;
reserved 1, 2;