Commit Graph

1488 Commits

Author SHA1 Message Date
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
DanRoscigno
e76560619c moved into dev/getting-started 2022-10-18 14:52:28 -04:00
Dan Roscigno
1e3584df83
Merge branch 'master' into master 2022-10-18 14:13:54 -04:00
DanRoscigno
c772dbb5d6 fix broken links and wrong colon char 2022-10-18 11:54:29 -04:00
jferroal
123e1aea65
Doc: fix metadata 2022-10-18 22:57:45 +08:00
jferroal
6e100adcb4
Doc: fix metadata 2022-10-18 22:57:23 +08:00
jferroal
e89b390ee3
Doc: add zh-CN translation
getting-started/example-datasets/opensky.mdx
2022-10-18 22:56:49 +08:00
jferroal
e504cec743
Doc: add zh-CN translation
getting-started/example-datasets/recipes.mdx
2022-10-18 22:55:58 +08:00
taofengliu
17be6ab492 docs for GROUP BY ALL 2022-10-18 10:46:38 +08:00
jferroal
1e7afba015
Doc: Add zh-CN translation
getting-started/example-datasets/menus.mdx
2022-10-18 08:57:27 +08:00
jferroal
d038d2b478
Doc: Add zh-cn translation
getting-started/example-datasets/cell-towers.mdx
2022-10-18 08:54:59 +08:00
Alexey Milovidov
2023f38764 Fixups 2022-10-17 05:50:24 +02:00
Alexey Milovidov
d1f0c80ffe Revert "Merge pull request #40217 from zvonand/zvonand-minmax"
This reverts commit df934d8762, reversing
changes made to d3a7945b1b.
2022-10-17 04:57:15 +02:00
jferroal
2376df7b98
Fix: page slug 2022-10-17 09:27:05 +08:00
jferroal
b3aea48b9d
Doc: zh-CN translation
docs/zh/getting-started/example-datasets/brown-benchmark
2022-10-17 09:22:46 +08:00
Alexey Milovidov
9ccbadc359
Merge pull request #42275 from zimv/doc-update-client-libraries
Docs: Add  "node-clickhouse-orm" to the client-libraries.md
2022-10-15 08:18:16 +02:00
jferroal
edfc388b7c
Doc: add zh translation (#42312) 2022-10-14 16:29:03 +02:00
zimv
56ef17e083 Docs: Add "node-clickhouse-orm" to the client-libraries.md 2022-10-13 14:57:35 +08:00
Alexey Milovidov
b9159db82f Remove temporary live views 2022-10-08 00:16:36 +02:00
Reinaldy Rafli
b52d58dcae
docs(statements): specify ON CLUSTER clause for CREATE ROLE 2022-10-02 09:51:17 +07:00
Robert Schulze
6379cb41ce
Merge branch 'master' into fix-links 2022-09-29 09:17:39 +02:00
Robert Schulze
fa93952231
Docs: Reference external papers as DOIs
See also #31076 which noted that links were broken but didn't fix.
2022-09-28 12:21:58 +00:00
Robert Schulze
82139fad0e
Docs: Remove obsolete modelEvaluate() mention 2022-09-28 11:47:16 +00:00
Sergei Trifonov
f7a1ed3141
Merge branch 'master' into readonly-settings-allow 2022-09-19 12:52:36 +02:00
Robert Schulze
b32b02d844
Merge pull request #40897 from ClickHouse/catboost-bridge-resurrected
Move CatBoost evaluation into clickhouse-library-bridge
2022-09-16 13:12:09 +02:00
Robert Schulze
49136d26aa
docs: fix internal links
The links at the very beginning of
https://clickhouse.com/docs/en/sql-reference/statements/system
don't work. They are reference other sections of the same document. This
is weird because there is a small index already on the right side. I
searched our documentation and this seems to be the only pages which do
so. Therefore removing the links altogether instead of fixing them.
2022-09-13 19:45:46 +00:00
Sergei Trifonov
fe88a7991d
Merge branch 'master' into readonly-settings-allow 2022-09-12 16:20:40 +02:00
Alexey Milovidov
f3a16ec08f Fix Chinese changelog 2022-09-10 05:17:55 +02:00
DanRoscigno
9d717d62e1 fix slug 2022-09-09 14:56:25 -04:00
Sergei Trifonov
76eb001e78 add test for changeable_in_readonly + fix SQL in docs 2022-09-09 14:01:29 +02:00
Robert Schulze
c16707ff00
chore: delete obsolete modelEvaluate() function + SYSTEM.MODELS view
- The deleted function modelEvaluate() was superseded by
  catboostEvaluate().

- Also delete the external model repository, as modelEvaluate() was it's
  last user. Additionally remove the system view SYSTEM.MODELS for
  inspecting the repository.

- SYSTEM RELOAD MODELS is also obsolete. HOWEVER, it was retained and
  made a no-op instead of deleted.

  Why?
  The reason is that RBAC in distributed setups works by storing
  privileges (granted and revoked) as plain SQL statements in Keeper.
  Nodes read these statements at startup and parse them. If a privilege
  for SYSTEM RELOAD MODELS exists but parser doesn't recognize it
  nodes would fail to come up.

  Considered but rejected alternatives:
  - Ignore SYSTEM RELOAD MODELS during parsing RBAC privileges and
    return an error for regular SYSTEM RELOAD MODELS SQL. Special-case
    of no-op behavior, too brittle.
  - Remove SYSTEM RELOAD MODELS manually from Keeper via command-line
    manipulation of Keeper nodes or via SQL by dropping the privileges.
    Needs user intervention during upgrade.
2022-09-08 09:10:11 +00:00
Alexey Milovidov
c4adc9ed8f Remove trash 2022-09-04 04:28:08 +02:00
Robert Schulze
56eece40ec
Merge pull request #40736 from LevyCory/add-offset-to-formatDateTime
Add timezone offset support  to `formatDateTime`
2022-09-01 09:50:17 +02:00
Robert Schulze
912663b719
Revert "Move CatBoost evaluation into clickhouse-library-bridge" 2022-08-31 20:54:43 +02:00
Robert Schulze
ca01286028
Merge pull request #39629 from ClickHouse/catboost-bridge
Move CatBoost evaluation into clickhouse-library-bridge
2022-08-31 16:16:11 +02:00
Cory Levy
1e2eee7146 Remove unnecessary backslashes in markdown sql blocks 2022-08-29 16:31:31 -04:00
Robert Schulze
64a6aa328e
fix: broken links in documentation (hopefully) 2022-08-29 20:27:06 +00:00
Robert Schulze
4d511332c4
chore: delete obsolete modelEvaluate() function
- superseded by catboostEvaluate() which no longer uses the internal
  repository for external models

- also removed was statement SYSTEM RELOAD MODELS and the monitoring view
  SYSTEM.SYSTEMMODELS
2022-08-29 20:27:06 +00:00
DanRoscigno
d37029dd82 updates for filename changes 2022-08-29 15:20:28 -04:00
DanRoscigno
576b7ea604 updates for filename changes 2022-08-29 14:39:15 -04:00
DanRoscigno
687ac1805a updates for filename changes 2022-08-29 13:59:51 -04:00
DanRoscigno
76a3212fc8 replace symlinks 2022-08-29 12:26:17 -04:00
DanRoscigno
c4b8137d31 replace symlinks 2022-08-29 12:19:50 -04:00
Robert Schulze
df934d8762
Merge pull request #40217 from zvonand/zvonand-minmax
Fix conversion Date32 / DateTime64 / Date to narrow types
2022-08-28 09:42:39 +02:00
Alexey Milovidov
859defa687
Merge pull request #40680 from DanRoscigno/add-slugs-everywhere
Add slugs everywhere
2022-08-27 00:05:22 +03:00
Dan Roscigno
1ac2cfdc0a
Update docs/zh/faq/general/why-clickhouse-is-so-fast.md 2022-08-26 15:14:30 -04:00
DanRoscigno
7f92006428 add slugs to all docs 2022-08-26 15:07:59 -04:00
Mikhail f. Shiryaev
3f967b1822
Fix _includes/install/tgz.sh script for linux 2022-08-26 20:57:38 +02:00
zvonand
eba4bd2a87 update test and chinese docs 2022-08-22 17:36:55 +03:00
Robert Schulze
55ff546322
Fix typo 2022-08-11 20:42:59 +00:00
Dan Roscigno
35ee71a908
Merge pull request #40110 from ClickHouse/fix-docs-for-39287
Fix documentation of "modulo(a, b)"
2022-08-11 16:14:28 -04:00
Robert Schulze
aa42a42e0f
Fix documentation of "modulo(a, b)"
Fixes #39287

ClickHouse uses the same semantics for modulo on floats as Python, i.e.
  4.2 % 2.0 = 0.2
and not as previously documented:
  4.2 % 2.0 --> (drop decimal places) --> 4 % 2 = 0.

Fixed the documentation.
2022-08-11 08:23:43 +00:00
Alexey Milovidov
8374f31306
Merge pull request #39425 from arenadata/ADQM-485
Add support of dates from year 1900 to 2299 for Date32 and DateTime64
2022-08-11 05:01:53 +03:00
Robert Schulze
7c59331e0e
Make examples for function 'parseDateTimeBestEffort()' less ambiguous
"12/12" and "12-12" could be interpreted as MM/DD or DD/MM and therefore
were not great examples.
2022-08-09 08:56:05 +00:00
Alexey Milovidov
a4a3867585
Merge pull request #39849 from skyhotqin/patch-1
Update dbms-naming.md
2022-08-06 02:01:30 +03:00
DanRoscigno
0e6a0d589f moved image dir 2022-08-03 16:27:17 -04:00
DanRoscigno
8b1b059ae9 wrong directory 2022-08-03 15:56:32 -04:00
DanRoscigno
d0c3de9da9 wrong dir 2022-08-03 15:55:12 -04:00
DanRoscigno
ab455f3767 moving PR from clickhouse-docs 2022-08-03 14:47:31 -04:00
nathanbegbie
b4c3ff0cef
typo: PostgerSQL -> PostgreSQL 2022-08-03 16:01:24 +03:00
nathanbegbie
de91875b5e
Revert "typo: PostgerSQL -> PostgreSQL"
This reverts commit fda8b113dc.
2022-08-03 15:59:36 +03:00
nathanbegbie
fda8b113dc
typo: PostgerSQL -> PostgreSQL 2022-08-03 15:54:58 +03:00
SkyhotQin
724d3d0359
Update dbms-naming.md
delete the `h` and some spaces
2022-08-03 17:09:10 +08:00
Robert Schulze
49a708ff29
Merge pull request #39596 from ClickHouse/move-woboq
Merge Woboq code browser page into "Getting Started" document
2022-08-01 13:44:33 +02:00
Robert Schulze
c9e1364cd0
Temporarily restore Woboq pages 2022-08-01 08:39:22 +00:00
Robert Schulze
fb622e4c4b
Remove IDE recommendation from Russian / Chinese translations of dev guide
- IDEs are already recommended at length earlier in the documents
2022-07-31 12:53:15 +00:00
Alexey Milovidov
6d14d8d366
Merge pull request #37510 from WujieRen/patch-1
Added details of partition by expression to the Chinese page
2022-07-30 05:24:32 +03:00
Robert Schulze
22219c4b7a
Merge Woboq code browser page into "Getting Started" document
There was too little information on the page to deserve a separate
document.
2022-07-26 07:54:03 +00:00
Roman Vasin
b462366415 Merge branch 'master' of github.com:ClickHouse/ClickHouse into ADQM-485 2022-07-25 17:55:47 +00:00
Denny Crane
a862e08fc4
Update star-schema.md 2022-07-24 17:10:36 -03:00
Roman Vasin
e3192cf753 Correct docs to reflect new range 1900..2299 for Date32 and DateTime64; Cleanup code 2022-07-20 15:19:02 +00:00
Alexey Milovidov
6d3b0032c3 Change the link to Hardware benchmark script 2022-07-12 20:25:40 +02:00
Alexey Milovidov
0ef3af67f8 Merge branch 'master' into compatible-benchmark 2022-07-11 08:43:14 +02:00