Skip to content

Commit

Permalink
Update Data_model.md (StarRocks#110)
Browse files Browse the repository at this point in the history
fix primary key's distributed column name
  • Loading branch information
fushaofeng authored Nov 4, 2021
1 parent 869f1df commit e9876e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion table_design/Data_model.md
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ create table users (
property3 tinyint NOT NULL,
....
) PRIMARY KEY (user_id)
DISTRIBUTED BY HASH(order_id) BUCKETS 4
DISTRIBUTED BY HASH(user_id) BUCKETS 4
PROPERTIES("replication_num" = "3");
~~~

Expand Down

0 comments on commit e9876e6

Please sign in to comment.