Commit Graph

9189 Commits

Author SHA1 Message Date
Robert Schulze
5e68d50b39
Merge pull request #46752 from ClickHouse/rs/periods-in-kafka-topics
Allow configuration of Kafka topics with periods
2023-02-26 07:49:28 +01:00
Rich Raposa
bb51da7de1
Merge pull request #46805 from den-crane/patch-63
Doc. Final setting
2023-02-25 16:05:54 -07:00
Alexey Milovidov
c69f8f9712
Merge pull request #46836 from den-crane/patch-64
Doc. Examples for DEFAULT/MATERIALIZED/EPHEMERAL/ALIAS
2023-02-26 00:26:11 +03:00
Robert Schulze
fbba9e319d
Merge branch 'master' into rs/periods-in-kafka-topics 2023-02-25 21:45:20 +01:00
Alexey Milovidov
d09025fc40
Merge pull request #46868 from DanRoscigno/add-prod-note
add note about prod install
2023-02-25 22:47:00 +03:00
Robert Schulze
2fd28b9eac
Merge pull request #46867 from ClickHouse/rs/escaping-docs
Fix escaping description in LIKE function docs
2023-02-25 18:44:20 +01:00
DanRoscigno
138a050e13 fix section name 2023-02-25 12:22:02 -05:00
DanRoscigno
ca06ad48e4 add note about prod install 2023-02-25 12:17:33 -05:00
Robert Schulze
01e7f41c79
Fix escaping descriptionn in LIKE function docs 2023-02-25 17:13:57 +00:00
Rich Raposa
6e2cec9ab6
Update tuple-map-functions.md 2023-02-25 10:03:32 -07:00
Robert Schulze
d74632cdb7
Minor fixup of string escaping syntax docs 2023-02-25 15:23:15 +00:00
rfraposa
25eb4053eb Update install.md 2023-02-24 11:26:37 -07:00
Denny Crane
95b701a37c
Update table.md 2023-02-24 13:17:30 -04:00
Denny Crane
9974f45ab0
Update table.md 2023-02-24 13:15:35 -04:00
Robert Schulze
b0abeefb74
Rectify string literals escaping docs
Cf. https://github.com/ClickHouse/ClickHouse/issues/46592#issuecomment-1437059603
2023-02-24 15:56:17 +00:00
Ilya Yatsishin
9fb24341e2
Update settings.md 2023-02-24 12:12:45 +01:00
Denny Crane
828b850335
Update from.md 2023-02-23 21:39:46 -04:00
Denny Crane
8851c268c2
Update from.md 2023-02-23 21:25:00 -04:00
Denny Crane
06a3c5598a
Update from.md 2023-02-23 21:21:36 -04:00
Denny Crane
55b3bffe59
Update settings.md 2023-02-23 21:15:31 -04:00
Rich Raposa
25a759d8d1
Update insert-into.md
Fix the formatting
2023-02-23 14:41:45 -07:00
Robert Schulze
cca0bead44
Slighly improved example 2023-02-23 20:07:06 +00:00
Robert Schulze
b3eacf0894
Whitespace for the win 2023-02-23 20:06:24 +00:00
Robert Schulze
6906cafa99
Change to S3 cfg syntax 2023-02-23 20:04:41 +00:00
Alexander Tokmakov
7b15f469cf
Merge pull request #46782 from ClickHouse/add_docs_for_44543
Add docs for #44543
2023-02-23 19:37:34 +03:00
Alexander Tokmakov
de04760bcd add docs for #44543 2023-02-23 15:57:11 +01:00
Kruglov Pavel
35887911e3
Merge pull request #46284 from Avogar/null-as-default-all-formats
Extend setting `input_format_null_as_default` for more formats
2023-02-23 14:48:22 +01:00
Nikolai Kochetov
dbfa641c47
Merge pull request #46621 from ClickHouse/resurrect-processors-profile-log-docs
Resurrect processors_profile_log docs.
2023-02-23 13:09:35 +01:00
Robert Schulze
81bf43157f
Allow configuration of Kafka topics with periods
The Kafka table engine allows global configuration and per-Kafka-topic
configuration. The latter uses syntax <kafka_TOPIC>, e.g. for topic
"football":

  <kafka_football>
      <retry_backoff_ms>250</retry_backoff_ms>
      <fetch_min_bytes>100000</fetch_min_bytes>
  </kafka_football>

Some users had to find out the hard way that such configuration doesn't
take effect if the topic name contains a period, e.g. "sports.football".
The reason is that ClickHouse configuration framework already uses
periods as level separators to descend the configuration hierarchy.
(Besides that, per-topic configuration at the same level as global
configuration could be considered ugly.)

Note that Kafka topics may contain characters "a-zA-Z0-9._-" (*) and
a tree-like topic organization using periods is quite common in
practice.

This PR deprecates the existing per-topic configuration syntax (but
continues to support it for backward compat) and introduces a new
per-topic configuration syntax below the global Kafka configuration of
the form:

<kafka>
   <topic name="football">
       <retry_backoff_ms>250</retry_backoff_ms>
       <fetch_min_bytes>100000</fetch_min_bytes>
   </topic>
</kafka>

The period restriction doesn't apply to XML attributes, so <topic
name="sports.football"> will work. Also, everything Kafka-related is
below <kafka>.

Considered but rejected alternatives:
- Extending Poco ConfigurationView with custom separators (e.g."/"
  instead of "."). Won't work easily because ConfigurationView only
  builds a path but defers descending the configuration tree to the
  normal configuration classes.
- Reloading the configuration file in StorageKafka (instead of reading
  the loaded file) but with a custom separator. This mode is supported
  by XML configuration. Too ugly and error-prone since the true
  configuration is composed from multiple configuration files.

(*) https://stackoverflow.com/a/37067544
2023-02-22 20:35:09 +00:00
Kruglov Pavel
0e7143070e
Update docs about format table function 2023-02-22 17:51:29 +01:00
Kseniia Sumarokova
bec094cd79
Merge pull request #46712 from kssenii/add-iceberg-doc
Add iceberg engine doc
2023-02-22 14:49:03 +01:00
kssenii
bac464f89b Fix 2023-02-22 14:25:08 +01:00
Nikolai Kochetov
ab94d6dc18
Update docs/en/operations/system-tables/processors_profile_log.md
Co-authored-by: Nikita Taranov <nikita.taranov@clickhouse.com>
2023-02-22 12:16:19 +01:00
Nikolai Kochetov
98c10ff6e5
Update docs/en/operations/system-tables/processors_profile_log.md
Co-authored-by: Nikita Taranov <nikita.taranov@clickhouse.com>
2023-02-22 12:16:09 +01:00
Kseniia Sumarokova
c242fe3e5e
Update docs/en/engines/table-engines/integrations/hudi.md
Co-authored-by: flynn <fenglv15@mails.ucas.ac.cn>
2023-02-22 12:11:42 +01:00
Kseniia Sumarokova
ef15d64895
Update docs/en/engines/table-engines/integrations/deltalake.md
Co-authored-by: flynn <fenglv15@mails.ucas.ac.cn>
2023-02-22 12:11:23 +01:00
kssenii
21fcc3b69c Add iceberg doc 2023-02-22 12:04:24 +01:00
robot-clickhouse-ci-2
2df52af445
Merge pull request #46711 from ClickHouse/vdimir/tmp-data-in-fs-cache-doc
Add doc for temporary_data_in_cache
2023-02-22 11:41:03 +01:00
vdimir
a4919ce3a2
Add doc for temporary_data_in_cache 2023-02-22 10:19:28 +00:00
robot-clickhouse
e010af8be8
Merge pull request #46649 from xiedeyantu/patch-2
Update s3Cluster.md
2023-02-21 22:48:38 +01:00
Han Fei
fa5d06c4da
Merge pull request #46666 from hanfei1991/hanfei/add-doc-async-insert-max-query-number
add docs for setting async_insert_max_query_number
2023-02-21 19:02:37 +01:00
Dan Roscigno
efea3cbc5c
Update docs/en/operations/settings/settings.md 2023-02-21 12:19:56 -05:00
Han Fei
eeac1abaa5 add docs for setting async_insert_max_query_number 2023-02-21 17:49:52 +01:00
Dan Roscigno
b6612d2c18
fix anchor link 2023-02-21 11:24:39 -05:00
Kruglov Pavel
ef0d6becba
Merge branch 'master' into null-as-default-all-formats 2023-02-21 16:52:39 +01:00
chen
c1e611334a
Update s3Cluster.md 2023-02-21 21:53:44 +08:00
chen
254cb1119b
Update s3Cluster.md 2023-02-21 21:52:17 +08:00
Kruglov Pavel
2924e8e802
Merge pull request #46631 from bigo-sg/json_array_length
Add new function JSONArrayLength
2023-02-21 12:50:27 +01:00
taiyang-li
eafac0f9a3 add docs 2023-02-21 11:17:44 +08:00
Alexey Milovidov
b1d9ba9da1
Fix #46620 2023-02-21 01:46:10 +03:00