Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/SQLDialect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -780,6 +780,12 @@ vector<vector<string>> SQLDialect::createIndexStmt = {
"CREATE INDEX idx_c_name ON hat.customer (c_name) USING btree;",
"CREATE INDEX idx_s_name ON hat.supplier (s_name) USING btree;",
"CREATE INDEX idx_d_date ON hat.date (d_date) USING btree;",
"alter table hat.CUSTOMER set tiflash replica 1;",
"alter table hat.DATE set tiflash replica 1;",
"alter table hat.HISTORY set tiflash replica 1;",
"alter table hat.LINEORDER set tiflash replica 1;",
"alter table hat.PART set tiflash replica 1;"
"alter table hat.SUPPLIER set tiflash replica 1;"
"ANALYZE TABLE hat.lineorder;",
"ANALYZE TABLE hat.customer;",
"ANALYZE TABLE hat.supplier;",
Expand Down