Commit Graph

1560 Commits

Author SHA1 Message Date
Robert Schulze
bff06d18aa
Merge pull request #54249 from rschu1ze/multiple_query_arguments
Allow multiple `--query` parameters in clickhouse-client/local.
2023-09-07 21:20:07 +02:00
Robert Schulze
cd3c121a62
Various fixups 2023-09-07 10:32:49 +00:00
Mikhail Koviazin
f98007a4ed
Replace Turbo-Base64 with aklomp/base64
Closes #31643
2023-09-06 13:01:38 +00:00
Joe Lynch
767f2472c2
Add elapsed_ns to HTTP headers X-ClickHouse-Progress and X-ClickHouse-Summary
The TCP interface progress has this field. This is not a super accurate
measure of server side query time, but trying to measure from the client
is even worse.
2023-09-05 21:03:13 +02:00
robot-clickhouse
9cafdbd972
Merge pull request #54309 from evillique/better-docs
Make docs better
2023-09-05 15:58:59 +02:00
Nikolay Degterinsky
2db239d6ad Make docs better 2023-09-05 12:43:53 +00:00
Ziy1-Tan
5db1961129
Allow specifying --query multiple times in the command line 2023-09-04 11:44:22 +00:00
cfanbo
2e49255f06
docs: fix func name error 2023-08-29 15:11:28 +08:00
Alexey Milovidov
88128db26f
Merge pull request #53624 from ClickHouse/docs-smt-zh
Add translated Chinese language docs for SharedMergeTree
2023-08-28 01:07:48 +03:00
Justin de Guzman
09b673c551
Hanfei suggestion 6 - SMT translation
Co-authored-by: Han Fei <hanfei19910905@gmail.com>
2023-08-26 17:52:50 -07:00
Justin de Guzman
7ad58881f4
Hanfei suggestion 5 - SMT translation
Co-authored-by: Han Fei <hanfei19910905@gmail.com>
2023-08-26 17:52:36 -07:00
Justin de Guzman
c646b71908
Hanfei suggestion 4 - SMT translation
Co-authored-by: Han Fei <hanfei19910905@gmail.com>
2023-08-26 17:52:15 -07:00
Justin de Guzman
449ca9032e
Hanfei suggestion 3 - SMT translation
Co-authored-by: Han Fei <hanfei19910905@gmail.com>
2023-08-26 17:51:59 -07:00
Justin de Guzman
c09f966a96
Hanfei suggestion 2 - SMT translation
Co-authored-by: Han Fei <hanfei19910905@gmail.com>
2023-08-26 17:51:47 -07:00
Justin de Guzman
2c07859529
Hanfei suggestion 1 - SMT translation
Co-authored-by: Han Fei <hanfei19910905@gmail.com>
2023-08-26 17:51:31 -07:00
selfuppen
d1d7f8ad26 [doc/zh]: apply all suggestions from code review 2023-08-24 14:31:20 +08:00
selfuppen
87dbadc634 [fix][doc/zh]: fix some inner-links in sparse-primary-indexes.md 2023-08-22 23:31:56 +08:00
selfuppen
8028b2a378 [fix][doc/zh]: fix binary search algorithm translation in sparse-primary-indexes.md 2023-08-22 22:52:41 +08:00
Justin de Guzman
0f490b6a91
Additional translations for SMT 2023-08-21 08:51:38 -07:00
justindeguzman
5aac627137 Add translated Chinese language docs for SharedMergeTree 2023-08-20 23:22:22 -07:00
selfuppen
178d3e89bc [fix][doc/zh]: fix some pictures path in sparse-primary-indexes.md 2023-08-21 08:28:42 +08:00
selfuppen
22a84551f2 [doc/zh]: translate the last two part of sparse-primary-index chinese doc. 2023-08-20 17:49:33 +08:00
Nikolay Degterinsky
8f3f47a51f
Update insert-into.md 2023-08-14 16:40:36 +02:00
robot-ch-test-poll1
ed0349b59c
Merge pull request #53334 from selfuppen/doc/zh/sparse-primary-indexes-update
[doc/zh]: solve the issue#53254
2023-08-13 17:49:59 +02:00
Alexey Milovidov
d87997d001
Merge pull request #52893 from knoguchi/CVE-2016-2183
CVE-2016-2183: disable 3DES
2023-08-12 03:34:49 +03:00
selfuppen
6a343a0b6f [doc/zh]: issues/53254:1. remove incorrect description about the orange-marked column values;2. remove dated description about the default value of optimize_use_projections ;3. add new note items for projection 2023-08-11 20:43:00 +08:00
Alexey Milovidov
1ab99e5fdd Replace old docs with symlinks 2023-08-08 22:38:52 +02:00
Elena Torró
f423b440d1 Add optional parameters to Engine definition 2023-08-07 09:55:16 +02:00
Alexander Zaitsev
b4d692c95f doc: try to fix PGO docs 2023-08-02 16:08:38 +02:00
Kenji Noguchi
17c4abce10 CVE-2016-2183: disable 3DES 2023-08-01 10:44:43 -07:00
Dmitry Kardymon
810137e57a Add new peak_memory_usage to docs 2023-07-24 05:59:07 +00:00
Samuel Colvin
02fe735b76
fix in other other languages 2023-07-19 20:12:35 +01:00
Dmitry Kardymon
a644317f57 Revert "Merge pull request #52129 from ClickHouse/revert-51291-ADQM-868"
This reverts commit 1b9bcae68e, reversing
changes made to 7284749d05.
2023-07-16 18:07:22 +00:00
Alexey Milovidov
9307e60c20
Revert "Millisecond and microsecond support in date_diff / age functions" 2023-07-14 23:21:26 +03:00
Dmitry Kardymon
3237169c9a Merge remote-tracking branch 'origin/master' into ADQM-868 2023-07-10 13:24:17 +00:00
Alexey Milovidov
cf66be571f
Merge branch 'master' into remove-useless-packages 2023-07-07 13:44:13 +03:00
Rory Crispin
77d62f495b
Merge branch 'master' into docs-remove-async-ml-event-time 2023-07-06 13:38:20 +01:00
Alexey Milovidov
75d051dd55 Remove useless packages 2023-07-06 01:49:53 +02:00
Rory Crispin
c9a26d43c5 (docs) Remove async_metric_log event_time_microseconds
event_time_microseconds was removed from the
system.asynchronous_metric_log in
https://github.com/ClickHouse/ClickHouse/pull/36360
2023-07-04 12:06:15 +01:00
Dmitry Kardymon
ed16828b70 Merge remote-tracking branch 'clickhouse/master' into ADQM-868 2023-07-04 08:18:57 +03:00
taojiatao
351f2757f0 translation correction, about assumeNotNull with null value 2023-06-29 19:34:04 +08:00
Dmitry Kardymon
c85ade9c27 Add const multiplier 2023-06-26 07:44:19 +00:00
Alexey Milovidov
0e88aae9d7 Remove ConsoleCertificateHandler 2023-06-26 04:27:50 +02:00
Dmitry Kardymon
d2635bff64 Merge remote-tracking branch 'origin/master' into ADQM-868 2023-06-22 19:56:15 +00:00
Dan Roscigno
c856c4a7df
Merge branch 'master' into Docs/ip_addresses 2023-06-21 17:26:27 -04:00
Dmitry Kardymon
792cdb6da5 Add millisecond support to age() / add tests 2023-06-20 08:26:59 +00:00
Dmitry Kardymon
02b5b50e41 Add milli/micro seconds support for date_diff 2023-06-16 12:39:46 +00:00
DanRoscigno
005e7d3b27 Chinese also 2023-06-14 17:40:29 -04:00
Denny Crane
aa35689cb1 fix links in other lang-s 2023-06-04 19:39:30 -03:00
Raúl Marín
dcd5579851 Mention ON CLUSTER options for SYSTEM queries 2023-06-02 16:51:04 +02:00
zy-kkk
90ee85d33a
Errata build osx zh doc (#50054) 2023-05-23 17:53:27 +02:00
Nikolay Degterinsky
d4b89cb643
Merge pull request #49356 from Ziy1-Tan/vcol
Support for `_path` and `_file` virtual columns for table function `url`.
2023-05-22 18:10:32 +02:00
libin
d294ecbc16
Update grant.md
docs: Modifying grant example
2023-05-18 15:50:19 +08:00
Alexey Milovidov
8a6e07f0ea Make projections production-ready 2023-05-10 03:35:13 +02:00
Mikhail f. Shiryaev
e1fa92e078
Add openSUSE and SLES to docs dictionary, sort it 2023-05-07 19:30:55 +02:00
Mikhail f. Shiryaev
b2963eb4be
Add documentation how to install clickhouse on SUSE family 2023-05-07 17:59:46 +02:00
Ivan Takarlikov
8873856ce5 Fix some grammar mistakes in documentation, code and tests 2023-05-04 13:35:18 -03:00
Ziy1-Tan
2c159061ed Support _path and _file virtual columns for table function url. 2023-05-01 21:40:30 +08:00
FriendLey
47fd6b6650 add docs of soundex function. (#39880) 2023-04-09 17:00:20 +08:00
Alexander Tokmakov
caf00b5968 Merge branch 'master' into sync_replica_lightweight 2023-03-31 14:52:55 +02:00
filimonov
fbb22348ea
Refactor reading the pool setting & from server config. (#48055)
After #36425 there was a lot of confusions/problems with configuring pools - when the message was confusing, and settings need to be ajusted in several places.
See some examples in #44251, #43351, #47900, #46515.

The commit includes the following changes:
1) Introduced a unified mechanism for reading pool sizes from the configuration file(s). Previously, pool sizes were read from the Context.cpp with fallbacks to profiles, whereas main_config_reloader in Server.cpp read them directly without fallbacks.
2) Corrected the data type for background_merges_mutations_concurrency_ratio. It should be float instead of int.
3) Refactored the default values for settings. Previously, they were defined in multiple places throughout the codebase, but they are now defined in one place (or two, to be exact: Settings.h and ServerSettings.h).
4) Improved documentation, including the correct message in system.settings.

Additionally make the code more conform with #46550.
2023-03-30 16:44:11 +02:00
Alexander Tokmakov
b5fe1ada0b more options for sync replica 2023-03-28 01:39:36 +02:00
Joey
d78b9ee006 fix md 2023-03-26 22:15:23 +08:00
Joey
2af34bd9db fix img path 2023-03-26 22:10:52 +08:00
Joey
355818e464 fix img path 2023-03-26 22:08:19 +08:00
rfraposa
128753f7ab Update index.md 2023-03-23 16:01:36 -06:00
rfraposa
4d281245fb Update index.md 2023-03-23 15:43:40 -06:00
rfraposa
9571130b26 Update materialize-mysql.md 2023-03-23 15:08:31 -06:00
rfraposa
e27d47581e Link fixes 2023-03-23 14:56:18 -06:00
Rich Raposa
7f2076c56e
Merge branch 'master' into nav-fixes 2023-03-23 14:22:48 -06:00
rfraposa
42725964d4 Remove links from nav categories 2023-03-23 14:20:26 -06:00
Han Fei
c41c2cfb1d make doc more concise 2023-03-23 20:47:29 +01:00
iammagicc
214bcdda47
delete quoat English text,change the translation
As the title says,I delete quoat English text.The Chinese translation has been modified to make it easier for readers to understand.
2023-03-21 22:09:10 +08:00
iammagicc
04bfc1848b
Merge branch 'master' into patch-2 2023-03-21 19:56:04 +08:00
iammagicc
82d71a1044
image errors and adaptive index granularity
Add a description of the relationship between image errors and adaptive index granularity.And create a new node with this description.
2023-03-21 19:53:00 +08:00
iammagicc
08549c0a02
增加最后一个索引条目存储了上图中颗粒1082的主键列的最大值与图片不符的描述
为什么图中显示的数据与结论不符合?因为图中的数据是禁用了自适应索引粒度后得到的,默认情况下索引粒度是自适应的。
https://clickhouse.com/docs/en/optimize/sparse-primary-indexes
We mentioned in the beginning of this guide in the "DDL Statement Details", that we disabled adaptive index granularity (in order to simplify the discussions in this guide, as well as make the diagrams and results reproducible).
For tables with adaptive index granularity (index granularity is adaptive by default) the size of some granules can be less than 8192 rows depending on the row data sizes.
我们在本指南开头的“DDL 语句详细信息”中提到,我们禁用了自适应索引粒度(为了简化本指南中的讨论,并使图表和结果可重现)。
对于具有自适应索引粒度的表(默认情况下索引粒度是自适应的),某些粒度的大小可以小于 8192 行,具体取决于行数据大小。


https://clickhouse.com/docs/en/whats-new/changelog/2019#experimental-features-1
ClickHouse Release 19.6.3.18, 2019-06-13
Experimental Features:实验性特性   
Add setting index_granularity_bytes (adaptive index granularity) for MergeTree* tables family.
为合并树家族的表系列添加设置index_granularity_bytes(自适应索引粒度)。

ClickHouse Release 19.10.1.5, 2019-07-12
Performance Improvement:优化改进
Add the possibility to write the final mark at the end of MergeTree columns. It allows to avoid useless reads for keys that are out of table data range. It is enabled only if adaptive index granularity is in use.
添加在合并树列末尾写入最终标记的可能性。它允许避免对超出表数据范围的键进行无用的读取。仅当使用自适应索引粒度时,才会启用它。
2023-03-21 15:53:45 +08:00
rfraposa
2c9761bca8 Update sparse-primary-indexes.md 2023-03-20 23:09:54 -06:00
iammagicc
d7a3a6dd71
Update sparse-primary-indexes.md
line424:Processed 8.19 thousand rows
line428:ClickHouse客户端的输出显示,没有进行全表扫描,只有8.19万行流到ClickHouse。
修改8.19万行为8.19千行
2023-03-20 20:50:09 +08:00
rfraposa
ac5ed141d8 New nav - reverting the revert 2023-03-17 21:45:43 -05:00
Alexander Tokmakov
ec44c8293a
Revert "New navigation" 2023-03-17 21:21:11 +03:00
rfraposa
1631f4fa62 Update delete-old-data.md 2023-03-16 22:07:16 -05:00
rfraposa
05786fe897 Trailing slashes 2023-03-16 21:31:11 -05:00
rfraposa
60fb9973d7 trailing slash fixes 2023-03-16 16:43:01 -05:00
rfraposa
9ee7b82e64 Trailing slashes fix 2023-03-16 14:21:32 -05:00
rfraposa
4c842e3dca Link fixes 2023-03-09 21:19:17 -07:00
rfraposa
fa6f3dadba Link fixes 2023-03-07 22:52:43 -07:00
Rich Raposa
273ceb8dd5
Merge branch 'master' into new-nav 2023-03-04 09:04:01 -07:00
robot-clickhouse
be043cd5a5
Merge pull request #47178 from houbaron/patch-2
Update sparse-primary-indexes.md
2023-03-04 11:34:15 +01:00
Han Fei
4a8436bc70
Merge pull request #47177 from houbaron/patch-1
Update skipping-indexes.md
2023-03-04 10:58:58 +01:00
Rich Raposa
18f29837fc
Merge branch 'master' into new-nav 2023-03-03 08:32:01 -07:00
Sergei Trifonov
b24a5b9c15
Merge branch 'master' into fix-zh-docs-markup-note 2023-03-03 11:37:03 +01:00
serxa
b96682ce32 Fix markup in docs 2023-03-03 10:35:07 +00:00
Sergei Trifonov
a1d99c602b
Update docs/zh/operations/backup.md 2023-03-03 10:52:45 +01:00
houbaron
df8d364708
Update backup.md 2023-03-03 14:24:36 +08:00
houbaron
1f7a0c70f0
Update sparse-primary-indexes.md 2023-03-03 12:00:42 +08:00
houbaron
29e396cc30
Update skipping-indexes.md 2023-03-03 11:57:03 +08:00
Rich Raposa
21996c377a
Merge branch 'master' into new-nav 2023-03-02 10:56:49 -07:00
SupunKavinda
088869b654 adds hyvor/clickhouse-php to docs 2023-03-02 01:47:00 +01:00
rfraposa
4735bc6a34 Fix links 2023-02-28 22:47:56 -07:00
zhangnew
df6eaaa278
Docs: view.md fix typo 2023-02-15 17:06:34 +08:00
Antonio Andelic
a58653820e Update docs 2023-02-03 18:19:12 +00:00
Sema Checherinda
d746a3c4ff
Merge pull request #44480 from wineternity/issue_43333_doc
[DOC] Add support for signed arguments in range() #43333
2023-01-16 10:26:49 +01:00
DanRoscigno
806dd1357c switch text to response for query blocks 2023-01-11 10:13:31 -05:00
DanRoscigno
d34a755cfb switch text to response for query blocks 2023-01-11 09:59:23 -05:00
serxa
8d099a4417 make more SQL queries copyable from docs in one click 2023-01-11 13:43:51 +00:00
Dan Roscigno
f791d5439c
Merge pull request #45063 from ClickHouse/remove-original-article
[docs] Remove "Original article" links
2023-01-09 11:32:22 -05:00
Ivan Blinkov
61c2f23713 Remove leftover empty lines at the end of markdown files 2023-01-09 15:15:18 +01:00
Ivan Blinkov
b7e082d033 Remove "Original article links" 2023-01-09 15:13:36 +01:00
Alexey Milovidov
03ae644ea3 Fix performance test 2023-01-09 01:58:42 +01:00
Alexey Milovidov
484af24d48 Remove the remainings of Testflows (2). 2023-01-07 21:40:13 +01:00
Dan Roscigno
20a35efc42
Merge pull request #44665 from burmecia/fix-ttl-doc
fix table ttl doc example
2023-01-04 15:53:19 -05:00
Robert Schulze
cfb6feffde
What happens if I remove these 139 lines of code? 2023-01-03 18:35:31 +00:00
Alexey Milovidov
47ae8c5c79 Remove more lines 2023-01-02 02:06:11 +01:00
stan
01a1da9c43
Merge branch 'master' into patch-1 2022-12-30 07:29:46 +08:00
Bo Lu
5d1886994f fix table ttl doc example 2022-12-28 15:45:05 +11:00
wineternity
1544e412f5 [DOC] Add support for signed arguments in range() #43333 2022-12-21 19:58:01 +08:00
BSWaterB
473a9c80b1
Create uk-price-paid.mdx
Adding missing text in translation
2022-12-10 11:14:39 +08:00
DanRoscigno
9918e39120 please do not use symlinks in docs 2022-12-05 08:29:57 -05:00
Han Fei
8f01eded48
Merge pull request #43787 from mo-avatar/zh_security_change_log
update security-changelog in chinese
2022-11-30 08:58:35 +01:00
mo-avatar
0b3b460301 Update security-changelog in chinese 2022-11-30 09:46:32 +08:00
Han Fei
85163ce888
Merge pull request #43174 from Tiaonmmn/patch-8
Update limit-by.md
2022-11-29 20:55:42 +01:00
Han Fei
a35af55c8f
Update docs/zh/sql-reference/statements/select/limit-by.md 2022-11-29 20:54:23 +01:00
Han Fei
4251426e4b
Update docs/zh/sql-reference/statements/select/limit-by.md 2022-11-29 20:53:41 +01:00
Han Fei
78065e5010
Update docs/zh/sql-reference/statements/select/limit-by.md 2022-11-29 20:52:22 +01:00
bit-ranger
1d16dde6ba
Update sparse-primary-indexes.md to correct typo 2022-11-24 21:00:39 +09:00
bit-ranger
6606bc7ede
Update sparse-primary-indexes.md to correct typo 2022-11-24 17:56:59 +09:00
bit-ranger
c6946d96a1
Update kafka.md 2022-11-23 16:30:53 +09:00
Alexey Milovidov
25780be0c6
Merge pull request #42265 from taofengliu/group_by_all
Support GROUP BY ALL
2022-11-22 20:08:23 +01:00
Kruglov Pavel
406c50277b
Merge pull request #42779 from Avogar/add-format-func-doc
Add documentation for 'format' table function
2022-11-21 15:16:26 +01:00
taofengliu
a529943d9f Merge remote-tracking branch 'upstream/master' into group_by_all 2022-11-19 21:11:23 +08:00
Nikolay Degterinsky
e7e21adf17
Merge pull request #43207 from freedomDR/improve_unhex
unhex support FixedString arguments
2022-11-18 03:09:58 +01:00
stan
e75e71bbcb
Update index.md
correct the error of translation
2022-11-16 22:44:54 +08:00
Alexey Milovidov
1ec21e5890
Merge branch 'master' into group_by_all 2022-11-16 06:14:04 +01:00
Nikolay Degterinsky
81971acf35 Fix docs 2022-11-16 02:40:51 +00:00
Christoph Wurm
2a9ab046dd Unify spelling of DateTime 2022-11-15 11:51:14 +00:00
freedomDR
37c448c6be complete unhex doc 2022-11-15 12:33:14 +08:00
Tiaonmmn
504e7f2a4b
Update limit-by.md
Update chinese translation of limit-by.md
2022-11-11 21:30:09 +08:00
Kruglov Pavel
0270f6003c
Merge branch 'master' into add-format-func-doc 2022-11-11 14:05:34 +01:00
canenoneko
0ed1d983fd
Update distinctive-features.md 2022-11-11 09:53:27 +08:00
taofengliu
4862586417 fix docs 2022-11-01 16:27:34 +08:00
avogar
c7031569b6 Fix typo 2022-10-28 21:58:42 +00:00
avogar
5412911592 Add documentation for 'format' table function 2022-10-28 17:43:28 +00:00
taofengliu
46b24380f2 Merge remote-tracking branch 'upstream/master' into group_by_all 2022-10-22 13:57:31 +08:00
Alexey Milovidov
bc6762d613
Merge pull request #42565 from alexeyerm/other-functions.md-fix
other-functions.md example fix
2022-10-22 04:20:23 +02:00
alexeyerm
e1fccbd161
doc fix fix 2022-10-21 20:09:46 +03:00
alexeyerm
d25ecb9f0b
fix transform() example 2022-10-21 19:47:38 +03:00
Robert Schulze
9b7294ef45
Merge remote-tracking branch 'origin/master' into revert-40217 2022-10-20 15:27:31 +00:00
taofengliu
4d5bf0e3b2 avoid extracting the deepest columns 2022-10-20 18:17:40 +08:00
taofengliu
4e1b96fa4c Merge remote-tracking branch 'upstream/master' into group_by_all 2022-10-19 12:16:20 +08:00
Alexey Milovidov
2834143bd4
Merge pull request #42446 from ezirmusitua/master
zh-CN translation for getting-started/example-datasets
2022-10-18 23:14:31 +02:00