Skip to content

Commit

Permalink
fix: create table bug for the latest version db (GreptimeTeam#580)
Browse files Browse the repository at this point in the history
  • Loading branch information
zyy17 committed Sep 28, 2023
1 parent 1d92da1 commit c041b76
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/user-guide/cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ You can follow the steps to use SQL to play with distributed insertions and quer
ts TIMESTAMP DEFAULT current_timestamp(),
n INT,
row_id INT,
PRIMARY KEY(n),
TIME INDEX (ts)
)
PARTITION BY RANGE COLUMNS (n) (
Expand All @@ -40,6 +41,7 @@ You can follow the steps to use SQL to play with distributed insertions and quer
-> ts TIMESTAMP DEFAULT current_timestamp(),
-> n INT,
-> row_id INT,
-> PRIMARY KEY(n),
-> TIME INDEX (ts)
-> )
-> PARTITION BY RANGE COLUMNS (n) (
Expand Down
2 changes: 2 additions & 0 deletions docs/zh/user-guide/cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
ts TIMESTAMP DEFAULT current_timestamp(),
n INT,
row_id INT,
PRIMARY KEY(n),
TIME INDEX (ts)
)
PARTITION BY RANGE COLUMNS (n) (
Expand All @@ -40,6 +41,7 @@
-> ts TIMESTAMP DEFAULT current_timestamp(),
-> n INT,
-> row_id INT,
-> PRIMARY KEY(n),
-> TIME INDEX (ts)
-> )
-> PARTITION BY RANGE COLUMNS (n) (
Expand Down

0 comments on commit c041b76

Please sign in to comment.