Update settings.md

This commit is contained in:
gyuton 2021-03-19 16:28:46 +03:00 committed by GitHub
parent c51109d46e
commit 8f1f9415f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1897,11 +1897,8 @@ Query:
```sql
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);
INSERT INTO x_dist SELECT * FROM numbers(5) SETTINGS insert_shard_id = 1;
SELECT * FROM x_dist ORDER BY number ASC;
```