Commit Graph

6549 Commits

Author SHA1 Message Date
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
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
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
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
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
Alexander Tokmakov
9a0d19257d
Merge pull request #65401 from kirillgarbar/attach_as_replicated
ATTACH AS [NOT] REPLICATED
2024-11-25 16:00:07 +00:00
Yarik Briukhovetskyi
00c565961e
Merge pull request #70810 from yariks5s/maxTableName
Follow-up #65150
2024-11-25 13:55:12 +00:00
Denny Crane
cc0f8271e2 add a warning to lagInFrame/leadInFrame 2024-11-25 13:14:55 +00:00
Nikita Taranov
856f73a7c2
Fix typo in intersect.md 2024-11-25 12:40:34 +01:00
jotosoares
f753b16f9d
docs(view.md): remove experimental from title 2024-11-24 20:52:27 -03: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
avogar
bd3f300220 Move JSON/Dynamic/Variant types from experimental to beta 2024-11-22 17:33:37 +00:00
Vladimir Cherkasov
26de447039
Merge pull request #70603 from zwy991114/check-table-structure-completely-setting
Add setting enforce_index_structure_match_on_partition_manipu..
2024-11-22 16:30:34 +00:00
pufit
344a04f4b4 Merge branch 'master' into add-syntax-alter-user-modify-settings 2024-11-21 23:37:15 -05:00
Alexey Milovidov
1d453fbc85
Merge pull request #72020 from ClickHouse/casted
Fix a problem with cast
2024-11-22 00:49:47 +00:00
divanik
8459148313 Resolve issues 2024-11-21 18:39:38 +00:00
Yarik Briukhovetskyi
913361a641
Merge branch 'ClickHouse:master' into maxTableName 2024-11-21 18:39:13 +01:00
divanik
438aa415a6 Resolve issues 2024-11-21 15:42:47 +00:00
Denny Crane
7b34b0eec5
Update json-functions.md 2024-11-21 10:10:44 -04:00
Denny Crane
c8c443f127
Update json-functions.md 2024-11-21 10:03:38 -04:00
Denny Crane
1cc687f3b1
Update json-functions.md 2024-11-21 09:54:57 -04:00
Кирилл Гарбар
ddb8f3d57f Fix docs and build 2024-11-21 16:48:52 +03:00
Alexey Milovidov
ad4b201892
Merge branch 'master' into casted 2024-11-21 06:04:02 +01:00
Alexey Milovidov
25bd73ea5e
Merge pull request #72023 from ClickHouse/fix-bind
Fix comments
2024-11-21 05:03:24 +00:00
Mikhail Artemenko
44b4bd38b9
Merge pull request #72045 from ClickHouse/issues/70174/cluster_versions
Enable cluster table functions for DataLake Storages
2024-11-20 21:22:37 +00:00
Alexander Tokmakov
aed4edd941
Merge branch 'master' into attach_as_replicated 2024-11-20 19:47:00 +01:00
Mikhail Artemenko
4ccebd9a24 fix syntax for iceberg in docs 2024-11-20 11:15:39 +00:00
Nikita Taranov
5aeeec0f42
Merge branch 'master' into fix_weird_problem 2024-11-19 19:48:10 +01:00
Vitaly Baranov
353ff951aa
Merge pull request #68885 from Unalian/feat-67772
Add CHECK GRANT query
2024-11-19 16:09:30 +00:00
Mikhail Artemenko
a367de9977 add docs 2024-11-19 12:49:59 +00:00
pufit
97866c71b7 Merge branch 'master' into add-syntax-alter-user-modify-settings
# Conflicts:
#	docs/en/sql-reference/statements/alter/role.md
#	docs/en/sql-reference/statements/alter/settings-profile.md
#	docs/ru/sql-reference/statements/alter/role.md
#	docs/ru/sql-reference/statements/alter/settings-profile.md
#	src/Access/SettingsProfileElement.cpp
#	src/Access/SettingsProfileElement.h
#	src/Interpreters/Context.cpp
#	src/Interpreters/Context.h
#	src/Parsers/Access/ASTCreateUserQuery.cpp
#	src/Parsers/Access/ParserCreateRoleQuery.cpp
#	src/Parsers/Access/ParserCreateSettingsProfileQuery.cpp
#	src/Parsers/Access/ParserCreateUserQuery.cpp
#	src/Parsers/Access/ParserSettingsProfileElement.cpp
#	tests/queries/0_stateless/01294_create_settings_profile.reference
2024-11-18 13:13:27 -08:00
Emmanuel Dias
b559738197 mention arrayPrAUC on docs 2024-11-18 17:39:38 -03:00
Nikita Taranov
3a012e5a96 enable s3_skip_empty_files by default 2024-11-18 13:55:18 +01:00
Alexey Milovidov
49589da56e Fix comments 2024-11-18 07:18:46 +01:00
Alexey Milovidov
8e0dc599b8
Merge pull request #71948 from Blargian/docs_add_example
Clean up `EXCEPT` docs
2024-11-18 02:45:58 +00:00
Alexey Milovidov
1062e6316f Fix cast 2024-11-18 01:35:03 +01:00
Robert Schulze
742f1eb41e
Merge pull request #71403 from petern48/alias_any_respect_nulls
Added camelCase aliases for `any`/`anyLast` aggregation functions
2024-11-17 16:02:10 +00:00
Robert Schulze
3bdd4a5173
Consistency fixups 2024-11-17 10:21:09 +00:00
Robert Schulze
61b3231a72
Merge pull request #71993 from rschu1ze/followup-71581
Minor follow-up to #71581
2024-11-17 09:19:53 +00:00
Shichao Jin
d61e2e1c28
Merge pull request #72016 from petern48/fix_typo_agg_funcs_doc
Fix typos in aggregation function docs
2024-11-17 00:53:49 +00:00
Peter Nguyen
f9431a3150 Update docs for any, anyLast, first_value, and last_value 2024-11-16 15:49:35 -08:00
Peter Nguyen
df0eec90e8 Fix typos 'of of' and 'The a' in agg functions index.html 2024-11-16 13:49:51 -08:00
Robert Schulze
9bd6f9c6b4
Smaller fixups 2024-11-15 17:47:20 +00:00
Robert Schulze
469733d327
Merge pull request #71581 from KevinyhZou/fix_comments_parse_date_time
Add function `parseDateTime64` and follow-up to #70737
2024-11-15 15:31:46 +00:00
Max Kainov
f29d7841fe
Merge pull request #63518 from qhsong/dev/profile_uniq_id
Enhance ClickHouse Profile: generate a uniq id for steps and processors
2024-11-15 12:19:05 +00:00
Blargian
af8d7c0b60 fix style 2024-11-14 23:14:41 +01:00
Blargian
1926f6ca4a clean up EXCEPT clause page and add an example of EXCEPT() 2024-11-14 23:09:49 +01:00
kevinyhzou
0349eeed37 Merge branch 'master' into fix_comments_parse_date_time 2024-11-14 16:41:52 +08:00
kevinyhzou
66a216f63c fix comments 2024-11-14 16:25:41 +08:00
Nikita Taranov
94ce517dc1 upd docs 2024-11-13 22:41:30 +01:00
divanik
21d925927a Merge branch 'master' of github.com:ClickHouse/ClickHouse into divanik/add_schema_evolution_concise 2024-11-13 15:03:13 +00:00
Alexey Milovidov
9285622a59 Merge branch 'master' of github.com:ClickHouse/ClickHouse into fp16 2024-11-12 17:07:19 +01:00
Max Vostrikov
d38bd0df0a
Merge pull request #71469 from ClickHouse/tests_to_utc_timestamp_arrayunion_quntiles
Added tests for corner cases for 24.10
2024-11-12 13:37:22 +00:00
kevinyhzou
7634e646e8 fix review 2024-11-12 21:23:09 +08:00
maxvostrikov
05be65315a squash! Missing tests in several tests in 24.10 Added corner cases for tests for: to_utc_timestamp and from_utc_timestamp (more timezones, spetial timezones, epoch corners does not look right, raising a bug over that) arrayUnion (empty and big arrays) quantilesExactWeightedInterpolated (more data types) 2024-11-12 11:54:12 +01:00
kevinyhzou
373f00c127 fix review & ci 2024-11-12 11:25:14 +08:00
Alexey Milovidov
fab8acaae7 Merge branch 'master' into fp16 2024-11-12 01:23:35 +01:00
Shichao Jin
9eb0ac21ae
Merge pull request #71779 from petern48/fix_typo_column_docs
Fix typo in sql-reference/statements/alter/column.md
2024-11-11 20:32:12 +00:00
Peter Nguyen
621cb60446 Fix 'was was' typo in sql-reference/statements/alter/column.md 2024-11-11 11:12:01 -08:00
Alexey Milovidov
935694480b Merge branch 'master' into fp16 2024-11-11 19:54:43 +01:00
Robert Schulze
f57bf2ee15
Fix trash in the docs, pt. II 2024-11-11 09:54:37 +00:00
kevinyhzou
0768e0b265 update doc & comments 2024-11-11 14:26:58 +08:00
kevinyhzou
ab79efe40f make scale argument not optional 2024-11-11 14:07:19 +08:00
Konstantin Bogdanov
4511352efc
Merge pull request #71719 from ClickHouse/alexey-milovidov-patch-8
Fix trash in the docs
2024-11-11 01:03:58 +00:00
Alexey Milovidov
866e4daeec
Update index.md 2024-11-11 01:10:49 +01:00
Shaun Struwig
a74f491df3
Fix typo 2024-11-10 22:02:01 +01:00
Alexey Milovidov
b4acc885f3 Documentation 2024-11-10 02:37:26 +01:00
Pavel Kruglov
0c9e6fca5a
Merge pull request #70442 from Avogar/alter-to-json
Support alter from String to JSON
2024-11-07 17:40:31 +00:00
Pavel Kruglov
3efeccde3a
Merge pull request #69731 from Avogar/dynamic-constraints
Don't allow Variant/Dynamic types in ORDER BY/GROUP BY/PARTITION BY/PRIMARY KEY by default
2024-11-07 12:48:27 +00:00
Pavel Kruglov
0702fa259e
Merge branch 'master' into alter-to-json 2024-11-07 13:47:56 +01:00
kevinyhzou
3332bce1dc fix doc and comments 2024-11-07 20:38:44 +08:00
kevinyhzou
a6b08187b3 checkstyle and doc 2024-11-07 20:03:44 +08:00
Mikhail Artemenko
b0393274f7
Merge pull request #71151 from ClickHouse/issues/71020/staleness
WITH FILL STALENESS extension
2024-11-07 10:12:58 +00:00
Alexey Milovidov
304b9190f3
Merge pull request #71320 from Avogar/tuple-to-json
Implement simple CAST from Map/Tuple/Object to new JSON through serialization/deserialization from JSON string
2024-11-06 22:27:18 +00:00
Mikhail Artemenko
3d7c560a25 Merge branch 'master' into issues/71020/staleness 2024-11-06 11:16:42 +00:00
Mikhail Artemenko
27efa29684 update docs 2024-11-05 18:04:59 +00:00
divanik
d3d88bb57c Merge branch 'master' of github.com:ClickHouse/ClickHouse into divanik/add_schema_evolution_concise 2024-11-04 11:22:24 +00:00
vdimir
a708e65ee5
Merge branch 'master' into vdimir/residual_join_conditions 2024-11-04 10:59:26 +00:00
vdimir
08ec69736f
review fix 2024-11-04 10:36:30 +00:00
Peter Nguyen
8af8488e46
Merge branch 'master' into alias_any_respect_nulls 2024-11-03 09:07:20 -08:00
Peter Nguyen
44130d6765 Add small note in docs for the alias 2024-11-03 08:59:56 -08:00
Han Fei
4bfce22caa
Merge pull request #71389 from den-crane/patch-76
Doc. Copy/paste error
2024-11-01 20:51:13 +00:00
pufit
e2c372f8b3
Merge pull request #71332 from ClickHouse/pufit/fix-inconsistent-ast-wildcard-grants
Fix inconsistent AST formatting when granting wrong wildcard grants
2024-11-01 18:48:34 +00:00
Denny Crane
b3b245e3b8
Update anylast.md 2024-11-01 15:37:48 -03:00
Nikita Mikhaylov
57fde54f10
Merge pull request #71250 from cwurm/missing_sources_grants
Add missing sources grants for Kafka, NATS and RabbitMQ
2024-11-01 15:08:19 +00:00
Dmitry Novik
a6e2a09843 Merge remote-tracking branch 'origin/master' into fix_docs_create_materialized_view_on_cluster 2024-11-01 14:23:57 +01:00