From cb0bb8d0f0669efa7218253325132651a163067f Mon Sep 17 00:00:00 2001 From: Vitaly Isaev Date: Fri, 9 Aug 2024 18:37:48 +0300 Subject: [PATCH] Merge #7607 (#7627) --- .../fq/libs/cloud_audit/yq_cloud_audit_service.cpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/ydb/core/fq/libs/cloud_audit/yq_cloud_audit_service.cpp b/ydb/core/fq/libs/cloud_audit/yq_cloud_audit_service.cpp index 5647add100b2..ded18a3816dc 100644 --- a/ydb/core/fq/libs/cloud_audit/yq_cloud_audit_service.cpp +++ b/ydb/core/fq/libs/cloud_audit/yq_cloud_audit_service.cpp @@ -65,7 +65,11 @@ std::string MapConnectionType(const FederatedQuery::ConnectionSetting::Connectio return "Monitoring"; case FederatedQuery::ConnectionSetting::ConnectionCase::kPostgresqlCluster: return "PostgreSQLCluster"; - default: + case FederatedQuery::ConnectionSetting::ConnectionCase::kGreenplumCluster: + return "GreenplumCluster"; + case FederatedQuery::ConnectionSetting::ConnectionCase::kMysqlCluster: + return "MySQLCluster"; + case FederatedQuery::ConnectionSetting::ConnectionCase::CONNECTION_NOT_SET: Y_ENSURE(false, "Invalid connection case " << i32(connectionCase)); } } @@ -76,8 +80,8 @@ std::string MapBindingType(const FederatedQuery::BindingSetting::BindingCase& bi return "YdbDataStreams"; case FederatedQuery::BindingSetting::BindingSetting::kObjectStorage: return "ObjectStorage"; - default: - Y_ENSURE(false, "Invalid connection case " << i32(bindingCase)); + case FederatedQuery::BindingSetting::BindingSetting::BINDING_NOT_SET: + Y_ENSURE(false, "Invalid binding case " << i32(bindingCase)); } }