From 81e547f372365c0079b5b2d142792a07200250dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Ni=C3=B1o?= <44230822+alvaro-nino@users.noreply.github.com> Date: Mon, 15 Sep 2025 09:48:31 +0200 Subject: [PATCH] Fixed errors in 01_1_shard_2_replicas.md Updated `LIMIT` statements and fixed full dataset load statetment --- .../replication-sharding-examples/01_1_shard_2_replicas.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/deployment-guides/replication-sharding-examples/01_1_shard_2_replicas.md b/docs/deployment-guides/replication-sharding-examples/01_1_shard_2_replicas.md index 2edcd193826..2e63934018e 100644 --- a/docs/deployment-guides/replication-sharding-examples/01_1_shard_2_replicas.md +++ b/docs/deployment-guides/replication-sharding-examples/01_1_shard_2_replicas.md @@ -633,8 +633,8 @@ FROM url( county String, d String, e String' -) SETTINGS max_http_get_redirects=10; -LIMIT 10000; +) LIMIT 10000 +SETTINGS max_http_get_redirects=10; ``` Notice that the data is completely replicated on each host: @@ -772,8 +772,7 @@ FROM url( county String, d String, e String' - ) SETTINGS max_http_get_redirects=10 -LIMIT 10000; + ) SETTINGS max_http_get_redirects=10; ``` Query the table from `clickhouse-02` or `clickhouse-01`: