Raúl Marín
5a3ecbd231
Merge remote-tracking branch 'blessed/master' into settings_checks
2024-12-03 13:45:37 +01:00
Raúl Marín
0d91a9b60c
Use an Enum for type in system.settings_changes
2024-12-03 13:13:05 +01:00
Raúl Marín
e97ccb6b07
Adjust tests and docs
2024-12-02 13:48:50 +01:00
Paweł Kudzia
a81bacea75
Adding example for JSONExtract which refers to a nested entry in JSON
...
Hopefully this one prevents others from asking question like in https://github.com/ClickHouse/ClickHouse/issues/72530
2024-11-30 11:18:06 +01:00
Mikhail Artemenko
b81ee27750
Merge pull request #71406 from azat/automatic-external-aggregation
...
Automatic GROUP/ORDER BY to disk based on the memory usage
2024-11-29 12:27:43 +00:00
Robert Schulze
4c36e8f427
Merge pull request #65519 from KevinyhZou/Fix_least_greast_diff
...
Make functions `least` and `greatest` ignore NULL arguments
2024-11-28 23:04:45 +00:00
Pablo Marcos
d8a235b785
Merge pull request #67733 from Zawa-ll/66073-system-load-primary-key-rebase
...
Added statement `SYSTEM LOAD PRIMARY KEY`
2024-11-28 16:02:31 +00:00
Azat Khuzhin
a8eaf3ecde
Fix copy-paste typo for max_bytes_ratio_before_external_group_by doc
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-11-28 16:01:53 +01:00
Azat Khuzhin
bdb39a6fef
Change logic of automatic ORDER/GROUP BY to be based on available memory
...
- remove max_bytes_ratio_before_external_{order,group_by}_for_server
- change the way max_bytes_ratio_before_external_{order,group_by} works
Note, that it is not enough to transform ratio to bytes in
executeQuery(), since in this case it will not work for merges and
internal queries, plus, you have to reset them for Distributed engine
and update it for Merge/View/...
This patch also introduce some helpers (see MemoryTrackerUtils) and
adjust Aggregator::Params constructor to accept Settings object instead
of tons of arguments.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-11-28 16:01:53 +01:00
Azat Khuzhin
909eef401a
Implement max_bytes_ratio_before_external_sort_for_server
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-11-28 16:01:53 +01:00
Azat Khuzhin
d5a990346c
Implement max_bytes_ratio_before_external_group_by_for_server
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-11-28 16:01:53 +01:00
Azat Khuzhin
378b6c80a6
Automatic ORDER BY to disk (max_bytes_ratio_before_external_sort)
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-11-28 16:01:53 +01:00
Azat Khuzhin
a856c30c7c
Automatic GROUP BY to disk (max_bytes_ratio_before_external_group_by)
...
Simpler then max_bytes_before_external_group_by, that allows you not to
think about memory consumption of the query, and can be set globally to
i.e. 0.5 so that the external aggregation will be enabled once the
memory usage reaches the 50%.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-11-28 16:01:53 +01:00
Pablo Marcos
98ccca99f2
Add doc for SYSTEM LOAD PRIMARY KEY
2024-11-28 09:05:50 +00:00
kevinyhzou
a898a4e956
fix least/greatest
2024-11-28 12:27:21 +08:00
Denny Crane
c169dc9cde
Update index.md
2024-11-27 21:01:04 -04:00
Dmitry Novik
a38700e5d1
Merge pull request #72338 from Zaynulla/patch-1
...
window-functions doc typos fix
2024-11-27 15:57:48 +00:00
Zaynulla
0a6965537a
window func doc teamMax output header fixed
2024-11-27 10:32:01 +03:00
Justin de Guzman
b6725d33d1
[Docs] Specify that Replicated is default engine for cloud
2024-11-26 16:57:49 -08:00
Alexey Milovidov
e3e6905638
Merge pull request #72339 from Zaynulla/patch-2
...
varPop doc latex formula added
2024-11-26 22:45:20 +00:00
Alexey Milovidov
0c02222173
Merge pull request #72390 from den-crane/Docs/leadInFrame
...
Doc. Add a warning to lagInFrame/leadInFrame
2024-11-26 22:45:10 +00:00
Robert Schulze
e9f083b26d
Merge pull request #71997 from allmazz/delete_old_mongodb_integration
...
Get rid of the legacy mongodb integration
2024-11-26 21:51:46 +00:00
robot-clickhouse
22f34a2fe9
Update version_date.tsv and changelogs after v24.11.1.2557-stable
2024-11-26 18:03:24 +00:00
Robert Schulze
934ae95e39
Fix bad conflict resolution
2024-11-26 17:34:27 +00:00
Robert Schulze
6a899f97eb
Merge remote-tracking branch 'ClickHouse/master' into delete_old_mongodb_integration
2024-11-26 17:33:41 +00:00
Raúl Marín
dd092411ff
Merge pull request #72455 from Algunenano/rename_setting
...
Rename allowed_feature_tier to allow_feature_tier
2024-11-26 15:54:01 +00:00
Denny Crane
5b1bdef54f
Update lagInFrame.md
2024-11-26 09:24:42 -04:00
Denny Crane
0ebee19f2e
Update docs/en/sql-reference/window-functions/leadInFrame.md
...
Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>
2024-11-26 09:21:58 -04:00
Robert Schulze
d9859c9186
Merge remote-tracking branch 'ClickHouse/master' into delete_old_mongodb_integration
2024-11-26 13:15:02 +00:00
Robert Schulze
45e1702f82
Merge remote-tracking branch 'ClickHouse/master' into delete_old_mongodb_integration
2024-11-26 12:44:06 +00:00
Pavel Kruglov
552d8b9699
Merge pull request #72294 from Avogar/json-beta
...
Move JSON/Dynamic/Variant types from experimental features to beta
2024-11-26 12:19:42 +00:00
Raúl Marín
b487f59496
Rename allowed_feature_tier to allow_feature_tier
2024-11-26 12:30:57 +01:00
Alexey Milovidov
3d65e72586
Update groupconcat.md
2024-11-26 05:49:53 +01:00
Alexey Milovidov
438b80e89b
Update groupconcat.md
2024-11-26 05:49:19 +01:00
Denny Crane
c1cefb0190
fix rank functions doc
2024-11-25 18:52:59 +00:00
Robert Schulze
17f27275ae
Merge remote-tracking branch 'ClickHouse/master' into delete_old_mongodb_integration
2024-11-25 17:23:15 +00:00
Robert Schulze
13687d681b
Merge pull request #72399 from rschu1ze/docs-ann-caption
...
Docs: Slightly better caption
2024-11-25 16:32:30 +00:00
Alexander Tokmakov
9a0d19257d
Merge pull request #65401 from kirillgarbar/attach_as_replicated
...
ATTACH AS [NOT] REPLICATED
2024-11-25 16:00:07 +00:00
Robert Schulze
0b3185fa13
Docs: Slightly better caption
2024-11-25 15:54:52 +00:00
Robert Schulze
a83da580ae
Merge pull request #72385 from rschu1ze/docs-ann
...
Docs: Update vector search docs
2024-11-25 14:40:28 +00:00
Yarik Briukhovetskyi
00c565961e
Merge pull request #70810 from yariks5s/maxTableName
...
Follow-up #65150
2024-11-25 13:55:12 +00:00
Robert Schulze
8f5a939d65
Try to fix link
2024-11-25 13:33:33 +00:00
Denny Crane
cc0f8271e2
add a warning to lagInFrame/leadInFrame
2024-11-25 13:14:55 +00:00
Robert Schulze
b6cc52410d
Fix spelling
2024-11-25 12:59:48 +00:00
Robert Schulze
46a3e3e795
Docs: Update vector search docs
2024-11-25 12:37:43 +00:00
Nikita Taranov
856f73a7c2
Fix typo in intersect.md
2024-11-25 12:40:34 +01:00
Robert Schulze
a8899eb26d
Docs: update minimum required Clang version
2024-11-24 15:20:12 +00:00
Zaynulla
a64ed74297
varPop doc latex formula added
...
- There is a latex formula in the documentation of the [covarPop](https://clickhouse.com/docs/en/sql-reference/aggregate-functions/reference/covarpop ) method, which is quite similar to varPop method.
- In Russian docs there are formulas both for [varPop](https://clickhouse.com/docs/ru/sql-reference/aggregate-functions/reference/varpop ), and [covarPop](https://clickhouse.com/docs/ru/sql-reference/aggregate-functions/reference/covarpop ).
Therefore, for consistency, it is suggested to add formula here too.
2024-11-23 15:52:48 +03:00
Zaynulla
19556968bc
window-functions doc typos fix
...
- A forgotten closing parenthesis ] has been added.
- The alias "teamMax" is less confusing for max (salary) than "teamAvg". This is probably the result of copying & pasting from the previous part of the document.
2024-11-23 14:43:02 +03:00
Raúl Marín
52391a8271
Revert "Set enable_http_compression default value to 1"
2024-11-22 22:51:28 +01:00