Skip to content

Commit 2592bc4

Browse files
committed
fix clickbench primary key columns order
1 parent 303d97a commit 2592bc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ydb/public/lib/ydb_cli/commands/click_bench_schema.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ CREATE TABLE `{table}`
107107
URLHash Int64 {notnull},
108108
CLID Int32 {notnull},
109109

110-
PRIMARY KEY (EventTime, CounterID, EventDate, UserID, WatchID)
110+
PRIMARY KEY (CounterID, EventDate, UserID, EventTime, WatchID)
111111
)
112112
{partition}
113113
WITH (

0 commit comments

Comments
 (0)