Skip to content

Commit a0740fa

Browse files
committed
change columns for partition. Use all PK
1 parent 2592bc4 commit a0740fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ydb/public/lib/ydb_cli/commands/click_bench.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ int TClickBenchCommandInit::Run(TConfig& config) {
419419
TString notNull = "";
420420
if (StoreType == "column") {
421421
//partitionBy = "PARTITION BY HASH(CounterID)"; Not enough cardinality in CounterID column @sa KIKIMR-16478
422-
partitionBy = "PARTITION BY HASH(EventTime)";
422+
partitionBy = "PARTITION BY HASH(CounterID, EventDate, UserID, EventTime, WatchID)";
423423
storageType = "STORE = COLUMN,";
424424
notNull = "NOT NULL";
425425
} else if (StoreType != "row") {

0 commit comments

Comments
 (0)