未验证 提交 8f1f9415 编写于 作者: G gyuton 提交者: GitHub

Update settings.md

上级 c51109d4
...@@ -1897,11 +1897,8 @@ Query: ...@@ -1897,11 +1897,8 @@ Query:
```sql ```sql
CREATE TABLE x AS system.numbers ENGINE = MergeTree ORDER BY number; CREATE TABLE x AS system.numbers ENGINE = MergeTree ORDER BY number;
CREATE TABLE x_dist AS x ENGINE = Distributed('test_cluster_two_shards_localhost', currentDatabase(), x); CREATE TABLE x_dist AS x ENGINE = Distributed('test_cluster_two_shards_localhost', currentDatabase(), x);
INSERT INTO x_dist SELECT * FROM numbers(5) SETTINGS insert_shard_id = 1; INSERT INTO x_dist SELECT * FROM numbers(5) SETTINGS insert_shard_id = 1;
SELECT * FROM x_dist ORDER BY number ASC; SELECT * FROM x_dist ORDER BY number ASC;
``` ```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册