From 17a99581dfac1649a0b41cbd336e83fa2abd9893 Mon Sep 17 00:00:00 2001 From: Semyon Yentsov Date: Thu, 22 May 2025 11:40:06 +0300 Subject: [PATCH] OLAP Engine compatibility for column stores --- ydb/core/tx/schemeshard/schemeshard_impl.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ydb/core/tx/schemeshard/schemeshard_impl.cpp b/ydb/core/tx/schemeshard/schemeshard_impl.cpp index 7702fb3375b8..a5f3459c5c88 100644 --- a/ydb/core/tx/schemeshard/schemeshard_impl.cpp +++ b/ydb/core/tx/schemeshard/schemeshard_impl.cpp @@ -3726,9 +3726,7 @@ void TSchemeShard::PersistColumnTable(NIceDb::TNiceDb& db, TPathId pathId, const TString serialized; TString serializedSharding; auto tableInfoCopy = tableInfo; - if (tableInfo.IsStandalone()) { - tableInfoCopy.Description.MutableSchema()->SetEngine(NKikimrSchemeOp::COLUMN_ENGINE_REPLACING_TIMESERIES); - } + tableInfoCopy.Description.MutableSchema()->SetEngine(NKikimrSchemeOp::COLUMN_ENGINE_REPLACING_TIMESERIES); Y_ABORT_UNLESS(tableInfoCopy.Description.SerializeToString(&serialized)); Y_ABORT_UNLESS(tableInfoCopy.Description.GetSharding().SerializeToString(&serializedSharding));