Commit Graph

20415 Commits

Author SHA1 Message Date
Dale Mcdiarmid
151b3bcb05 clarify compression options 2024-12-10 12:09:59 +00:00
Dale Mcdiarmid
b7a9564fad headers for s3Cluster 2024-12-09 17:09:18 +00:00
Nikita Fomichev
6d72f4774e Tests: add RMV tests 2024-12-09 17:05:03 +01:00
Nikita Fomichev
c9c8c9d267 Tests: add RMV tests 2024-12-09 17:05:03 +01:00
Emmanuel Dias
a2dad7be45 add alias 2024-12-09 10:14:17 -03:00
Nikolai Kochetov
a4042274f1 Merge branch 'master' into implement-23210 2024-12-09 09:50:19 +01:00
Robert Schulze
71117fbbf3
Merge pull request #72894 from rschu1ze/docs-links
Docs: Fix data type links
2024-12-09 07:45:28 +00:00
pufit
1e6a0ab074
Merge pull request #72050 from ClickHouse/add-syntax-alter-user-modify-settings
Add syntax ALTER USER MODIFY SETTINGS
2024-12-06 22:32:05 +00:00
Konstantin Bogdanov
2e9dabeed3
Merge pull request #70413 from ClickHouse/chcache
Add `chcache` util
2024-12-06 18:37:07 +00:00
János Benjamin Antal
fff3940118
Merge pull request #72888 from gingerwizard/doc_fixes_dalem
ALL GRANT not supported in Cloud
2024-12-06 18:29:47 +00:00
Yarik Briukhovetskyi
592c72cb3a
Merge pull request #72073 from emmanuelsdias/array-pr-auc
Create arrayPrAUC function to compute PR AUC
2024-12-06 17:15:16 +00:00
Kseniia Sumarokova
f0d757fe16
Merge pull request #72892 from gingerwizard/document_s3_headers
request headers in s3
2024-12-06 17:14:45 +00:00
Robert Schulze
0745342f6e
Docs: Fix data type links 2024-12-06 15:20:20 +00:00
Robert Schulze
0f6c9b6a59
Merge pull request #72889 from rschu1ze/docs-translate
Docs: Follow-up to #71441
2024-12-06 14:57:38 +00:00
Dale Mcdiarmid
4cc1767a5d fix spelling 2024-12-06 14:02:26 +00:00
Dale Mcdiarmid
f9b8a293ef request headers in s3 2024-12-06 13:58:53 +00:00
Yarik Briukhovetskyi
d0954e751d
Merge pull request #72540 from yariks5s/group_concat_overload
Add `groupConcat` second argument overload
2024-12-06 13:43:02 +00:00
Robert Schulze
52fc14eb02
Docs: Follow-up to #71441 2024-12-06 13:31:45 +00:00
Dale Mcdiarmid
1917ed1d07 ALL not supported in Cloud 2024-12-06 13:04:44 +00:00
Kseniia Sumarokova
348b7393a5
Merge pull request #72657 from xavierleune/fix/docs-replication
(docs) Fix examples for replication
2024-12-06 12:57:53 +00:00
Pavel Kruglov
fa7814e4ef
Merge pull request #72841 from ClickHouse/Avogar-patch-7
Update example in JSON docs
2024-12-06 12:42:32 +00:00
Nikita Taranov
f2c328aa7a Revert "Merge pull request #72836 from ClickHouse/revert-72770-more_insistent_compress_in_memory_eng"
This reverts commit f752c0b89d, reversing
changes made to 65d895a6db.
2024-12-06 13:11:00 +01:00
pufit
bbbc87d354 Merge branch 'master' into add-syntax-alter-user-modify-settings
# Conflicts:
#	src/Parsers/Access/ASTCreateRoleQuery.cpp
#	src/Parsers/Access/ASTCreateSettingsProfileQuery.cpp
#	src/Parsers/Access/ASTCreateUserQuery.cpp
#	src/Parsers/Access/ASTSettingsProfileElement.cpp
#	src/Parsers/Access/ASTSettingsProfileElement.h
2024-12-05 23:24:22 -05:00
Vladimir Cherkasov
4b406e6dd7
Merge branch 'master' into bsearchfunction 2024-12-05 19:31:03 +01:00
Pavel Kruglov
6f220c37f9
Apply suggestions 2024-12-05 16:44:47 +01:00
Raúl Marín
f752c0b89d
Merge pull request #72836 from ClickHouse/revert-72770-more_insistent_compress_in_memory_eng
Revert "More insistent compression in `StorageMemory`"
2024-12-05 15:40:26 +00:00
Pavel Kruglov
70b09a83f9
Update example in JSON docs 2024-12-05 15:31:07 +01:00
János Benjamin Antal
0b6e8e8b68
Merge pull request #72362 from jotosoares/patch-1
docs(view.md): remove experimental from refreshable materialized views title
2024-12-05 12:58:29 +00:00
Raúl Marín
ba517d6762
Revert "More insistent compression in StorageMemory" 2024-12-05 12:47:02 +01:00
Vitaly Baranov
b51df5655c
Merge pull request #70597 from bigo-sg/toUnixTimestamp-fix
Add function toUnixTimestamp64Second
2024-12-05 10:59:55 +00:00
Daniil Ivanik
9f425ebe73
Merge pull request #69445 from ClickHouse/divanik/add_schema_evolution_concise
Make simple schema evolution for Iceberg data format
2024-12-05 10:22:55 +00:00
flynn
ae87b324cc Add function normalizedGini 2024-12-05 03:59:51 +00:00
Raúl Marín
1ba23db27c
Merge pull request #72694 from Algunenano/settings_checks
Add MergeTreeSettings to system.settings_changes
2024-12-04 19:22:26 +00:00
Ladislav Snizek
1dc394c3ab Correct documentation for the min_free_disk_space settings 2024-12-04 17:20:20 +01:00
Max Kainov
b364af07f9
Merge pull request #72255 from ClickHouse/auto/v24.10.3.21-stable
Update version_date.tsv and changelog after v24.10.3.21-stable
2024-12-04 14:37:36 +00:00
Emmanuel Dias
56f040734d fix docs 2024-12-04 10:15:53 -03:00
Nikita Taranov
b0454acb14
Merge pull request #72770 from ClickHouse/more_insistent_compress_in_memory_eng
More insistent compression in `StorageMemory`
2024-12-04 12:29:09 +00:00
Yarik Briukhovetskyi
3cf4cd0499
Merge pull request #71441 from bigo-sg/translate
translate support second arg longer than the third
2024-12-04 12:12:03 +00:00
Miki Matsumoto
cf3891fc2d move some docs to clickhouse-docs to be same as English version 2024-12-04 11:48:27 +09:00
Nikita Taranov
a71c00000b impl 2024-12-03 20:12:51 +01:00
divanik
f1219d3e8e Merge branch 'master' of github.com:ClickHouse/ClickHouse into divanik/add_schema_evolution_concise 2024-12-03 15:27:45 +00:00
Miki Matsumoto
c856216618 modify japanese docs compile failure 2024-12-03 22:54:08 +09:00
Vladimir Cherkasov
d7acd3db93
Merge pull request #69910 from ClickHouse/vdimir/residual_join_conditions
Non-experimental non-equi join conditions
2024-12-03 13:48:31 +00:00
Pavel Kruglov
a433dea0ea
Merge pull request #72660 from ClickHouse/doc-mysql-settings
Documentation: add reference to relevant settings for mysql table function
2024-12-03 13:21:25 +00:00
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
Konstantin Bogdanov
21131689bd
Update docs 2024-12-03 12:44:08 +01:00
Yarik Briukhovetskyi
deddd1db31
Change the logic 2024-12-02 20:22:04 +01:00
Robert Schulze
7f6063b48e
Merge remote-tracking branch 'ClickHouse/master' into vec-sim-idx-analyzer 2024-12-02 15:18:04 +00:00
Raúl Marín
e97ccb6b07 Adjust tests and docs 2024-12-02 13:48:50 +01:00
Vladimir Cherkasov
7b9973ef8f
Merge branch 'master' into vdimir/residual_join_conditions 2024-12-02 11:38:00 +01:00
Max Kainov
f9b0cc44f7
Merge branch 'master' into auto/v24.10.3.21-stable 2024-12-02 10:56:38 +01:00
shuai-xu
d2b4448fb1 some refines 2024-12-02 12:28:38 +08:00
shuai-xu
098e20d9b9 translate support second arg longer than the third 2024-12-02 12:28:37 +08:00
Yakov Olkhovskiy
a929dc7df5 fix 2024-12-01 19:16:41 +00:00
Yakov Olkhovskiy
90e1ca8cb0 add reference to relevant settings for mysql table function 2024-12-01 19:07:43 +00:00
Xavier Leune
777dd21640 (docs) Fix examples for replication 2024-11-30 23:40:12 +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
Miki Matsumoto
2df2320f61 set CheckInternalHash false cause always failing 2024-11-29 17:14:09 +09: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
zhanglistar
ffc33fb7c1 delete toUnixTimestampEx 2024-11-28 11:39:43 +08:00
zhanglistar
7c24c69acf merge master 2024-11-28 10:43:16 +08:00
Denny Crane
c169dc9cde
Update index.md 2024-11-27 21:01:04 -04:00
erickurbanov
bb77b0f0c2 add documentation 2024-11-28 00:59:49 +03: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
Yarik Briukhovetskyi
c2f74fa4aa
Init 2024-11-27 12:33:01 +01: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
5db9d4aa41
Merge remote-tracking branch 'origin/master' into vec-sim-idx-analyzer 2024-11-26 17:42:43 +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
1306686cff
Merge remote-tracking branch 'ClickHouse/master' into vec-sim-idx-analyzer 2024-11-26 13:15:58 +00: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
Robert Schulze
aab2561deb
Update docs about non-analyzer path 2024-11-25 20:15:04 +00:00
Robert Schulze
dfa29b1423
Merge remote-tracking branch 'ClickHouse/master' into vec-sim-idx-analyzer 2024-11-25 20:04:39 +00: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