Commit Graph

6542 Commits

Author SHA1 Message Date
Shichao Jin
098c8ac806
Merge pull request #73012 from gingerwizard/issue_2295
clarify compression options for table functions
2024-12-10 19:03:07 +00:00
Dale Mcdiarmid
151b3bcb05 clarify compression options 2024-12-10 12:09:59 +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
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
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
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
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
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
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
Emmanuel Dias
56f040734d fix docs 2024-12-04 10:15:53 -03: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
divanik
f1219d3e8e Merge branch 'master' of github.com:ClickHouse/ClickHouse into divanik/add_schema_evolution_concise 2024-12-03 15:27:45 +00: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
Yarik Briukhovetskyi
deddd1db31
Change the logic 2024-12-02 20:22:04 +01:00
Vladimir Cherkasov
7b9973ef8f
Merge branch 'master' into vdimir/residual_join_conditions 2024-12-02 11:38:00 +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
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
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