Skip to content

Commit aea00ee

Browse files
committed
Use l-buckets in statistics ut for forced compaction (#18960)
1 parent 59239bf commit aea00ee

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ydb/core/statistics/ut_common/ut_common.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,11 @@ void CreateColumnStoreTable(TTestEnv& env, const TString& databaseName, const TS
289289
)", fullTableName.c_str()));
290290
runtime.SimulateSleep(TDuration::Seconds(1));
291291

292+
ExecuteYqlScript(env, Sprintf(R"(
293+
ALTER OBJECT `%s` (TYPE TABLE) SET (ACTION=UPSERT_OPTIONS, `COMPACTION_PLANNER.CLASS_NAME`=`l-buckets`);
294+
)", fullTableName.c_str()));
295+
runtime.SimulateSleep(TDuration::Seconds(1));
296+
292297
ExecuteYqlScript(env, Sprintf(R"(
293298
ALTER OBJECT `%s` (TYPE TABLE) SET (ACTION=UPSERT_INDEX, NAME=cms_value, TYPE=COUNT_MIN_SKETCH,
294299
FEATURES=`{"column_names" : ['Value']}`);

0 commit comments

Comments
 (0)