From aa4d008299d2cd54ab73bec235ec4e606cf468cb Mon Sep 17 00:00:00 2001 From: Daniil Cherednik Date: Thu, 22 Aug 2024 18:12:40 +0000 Subject: [PATCH] Set EnableUniqConstraint by default --- ydb/core/kqp/ut/common/kqp_ut_common.cpp | 1 - ydb/core/protos/feature_flags.proto | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/ydb/core/kqp/ut/common/kqp_ut_common.cpp b/ydb/core/kqp/ut/common/kqp_ut_common.cpp index 2f46aa375249..4aaf3a513cf2 100644 --- a/ydb/core/kqp/ut/common/kqp_ut_common.cpp +++ b/ydb/core/kqp/ut/common/kqp_ut_common.cpp @@ -130,7 +130,6 @@ TKikimrRunner::TKikimrRunner(const TKikimrSettings& settings) { ServerSettings->SetFrFactory(&UdfFrFactory); ServerSettings->SetEnableNotNullColumns(true); ServerSettings->SetEnableMoveIndex(true); - ServerSettings->SetEnableUniqConstraint(true); ServerSettings->SetUseRealThreads(settings.UseRealThreads); ServerSettings->SetEnableTablePgTypes(true); ServerSettings->S3ActorsFactory = settings.S3ActorsFactory; diff --git a/ydb/core/protos/feature_flags.proto b/ydb/core/protos/feature_flags.proto index 364aadd6533f..71b627d4c3e3 100644 --- a/ydb/core/protos/feature_flags.proto +++ b/ydb/core/protos/feature_flags.proto @@ -120,7 +120,7 @@ message TFeatureFlags { optional bool EnableIcNodeCache = 101 [default = true]; optional bool EnableTempTables = 102 [default = false]; optional bool SuppressCompatibilityCheck = 103 [default = false]; - optional bool EnableUniqConstraint = 104 [default = false]; + optional bool EnableUniqConstraint = 104 [default = true]; optional bool EnableChangefeedDebeziumJsonFormat = 105 [default = false]; optional bool EnableStatistics = 106 [default = true]; optional bool EnableUuidAsPrimaryKey = 107 [default = true];