diff options
| author | vitya-smirnov <[email protected]> | 2026-07-22 12:33:51 +0300 |
|---|---|---|
| committer | vitya-smirnov <[email protected]> | 2026-07-22 13:01:26 +0300 |
| commit | 9417ccd8feb9c59d31376e2017ae01e912e4bbcd (patch) | |
| tree | ca1c6701cc1559999196c95b19642ae493ad742d | |
| parent | 87469c1849c3a6b45d45117dfc616792fe332e70 (diff) | |
YQL-21299: Parse Kikimr ClusterMapping
#### Parse Kikimr ClusterMapping ✎
- Added support for parsing cluster mapping from Kikimr provider configuration
- Implemented conditional logic to handle Kikimr cluster mapping when Ydb provider is not present
- Extended gateway utilities to properly process Kikimr-specific cluster configuration
- Ensured backward compatibility with existing Ydb provider cluster mapping parsing
<a href="https://nda.ya.ru/t/qa0kX64r7DqvtN"><font size="2">Autodescription by Yandex Code Assistant</font></a>
commit_hash:9c9a78dbe23ef0d2f4842160ce8572effce2eb5a
| -rw-r--r-- | yql/essentials/providers/common/gateways_utils/gateways_utils.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/yql/essentials/providers/common/gateways_utils/gateways_utils.cpp b/yql/essentials/providers/common/gateways_utils/gateways_utils.cpp index 8c5742580a8..18f3d7cb972 100644 --- a/yql/essentials/providers/common/gateways_utils/gateways_utils.cpp +++ b/yql/essentials/providers/common/gateways_utils/gateways_utils.cpp @@ -94,6 +94,11 @@ void GetClusterMappingFromGateways(const NYql::TGatewaysConfig& gateways, THashM TString{YdbProviderName}, &clusterMapping); } + if (!gateways.HasYdb() && gateways.HasKikimr()) { + AddClusters(gateways.GetKikimr().GetClusterMapping(), + TString{KikimrProviderName}, + &clusterMapping); + } } } // namespace NYql |
