Commit Graph

13053 Commits

Author SHA1 Message Date
Robert Schulze
1c10b96361
Merge remote-tracking branch 'rschu1ze/master' into revert-revert-54746_to_millisecond_function 2024-03-06 09:04:57 +00:00
Shaun Struwig
68a3ca37c4
Add examples using columns 2024-03-06 06:42:01 +01:00
jsc0218
cd2a418afd add named collection grant doc 2024-03-06 02:31:21 +00:00
Zach Naimon
f5cf61c32e update documentation without autoformat 2024-03-05 14:28:48 -05:00
Zach Naimon
34d327a08c Revert "update documentation"
This reverts commit d596de7384.
2024-03-05 14:26:57 -05:00
Zach Naimon
d596de7384 update documentation 2024-03-05 14:25:48 -05:00
János Benjamin Antal
981c507d80 Add example to sin. 2024-03-05 17:01:54 +00:00
János Benjamin Antal
aa6b70e5f2 Add documentation to simpleJSON functions 2024-03-05 16:55:08 +00:00
Blargian
45509607ad Fix spelling mistake 2024-03-05 15:50:30 +01:00
Blargian
7930a26df1 Fix formatting of compression/expansion levels 2024-03-05 15:47:45 +01:00
Blargian
bfb703b579 Add mortonEncode and mortonDecode to documentation 2024-03-05 15:38:42 +01:00
Joris Clement
b791ced86f
docs: typo
With https://github.com/ClickHouse/ClickHouse/pull/39423 allowing the
the usage of single quotes was disabled by default. Adapt the
documentation accordingly.
2024-03-05 14:50:24 +01:00
Joris Clement
0bedd98bb7
style: trailing whitespace 2024-03-05 14:50:23 +01:00
Alexander Tokmakov
72a4533c4e Merge branch 'master' into ddl_none_only_active 2024-03-05 13:42:00 +01:00
Alexey Milovidov
570692fe83
Merge branch 'master' into json-ambg-tuple-inference 2024-03-05 04:50:39 +03:00
Kruglov Pavel
4bdafed801
Merge pull request #60420 from HowePa/format_case_insensitive
Make all format names case insensitive.
2024-03-04 19:09:10 +01:00
avogar
9a05461680 Better exception message 2024-03-04 17:49:33 +00:00
avogar
70abdf7a41 Small improvements in JSON schema inference 2024-03-04 17:32:22 +00:00
Alexey Milovidov
ba51508ee9
Merge pull request #60733 from ClickHouse/alexey-milovidov-patch-8
Update build.md
2024-03-04 18:56:45 +03:00
Alexey Milovidov
de6c5d3a40
Merge pull request #60552 from ClickHouse/pc2
Userspace page cache again
2024-03-04 17:47:35 +03:00
Alexey Milovidov
629af21701
Update build.md 2024-03-04 05:52:47 +03:00
Alexey Milovidov
3476e36e87
Update build.md
1. Add `apt-get update` command.
2. Put Docker to the bottom.
2024-03-04 05:50:43 +03:00
johnnymatthews
e98c30c161 Reorganizes rand docs page. 2024-03-03 14:38:59 -07:00
johnnymatthews
77fe221665 Adds undocumented rand functions. Prettifies markdown. 2024-03-03 14:25:25 -07:00
robot-ch-test-poll4
c46ffbaf24
Merge pull request #60700 from Blargian/document_function_today
Update documentation for `today` function
2024-03-03 18:23:01 +01:00
robot-clickhouse-ci-2
0e9f9c6f47
Merge pull request #60707 from peter279k/remove_original_article
Remove original article because it's redundant
2024-03-03 18:14:55 +01:00
robot-clickhouse-ci-1
f87d19efc5
Merge pull request #60679 from Blargian/document_function_TimeDiff
Document `timeDiff` function
2024-03-03 18:02:42 +01:00
robot-clickhouse
389d39cdc4
Merge pull request #60697 from peter279k/correct_covid19_column
Correct the COVID-19 open dataset date column type
2024-03-03 17:55:28 +01:00
Peter
1df42bb86b
Remove original article because it's redundant 2024-03-03 22:49:11 +08:00
Blargian
b910a66f19 Update example to showcase aliases 2024-03-03 13:18:35 +01:00
Blargian
27231a9542 Add example query and response 2024-03-03 13:14:29 +01:00
Peter
7dd37f08d7
Correct the COVID-19 open dataset date column type 2024-03-03 19:50:23 +08:00
Blargian
8e79b229b1 Update documentation for function 2024-03-03 10:49:59 +01:00
Alexey Milovidov
6771e99d9f Merge branch 'master' into ddl_none_only_active 2024-03-03 03:09:24 +01:00
Alexey Milovidov
1f1e0f082a
Merge branch 'master' into changelog-24.2 2024-03-03 03:27:28 +03:00
Yakov Olkhovskiy
bae4783fe9
Merge pull request #54508 from UnamedRus/topk-statistics-count-errors
Add mode fot topK/topKWeighed function to also include count/error statistics
2024-03-02 11:54:55 -05:00
Blargian
e3329a44a8 Add missing documentation for timeDiff function 2024-03-01 21:17:49 +01:00
Peter
f2e325851d
Remove unavailable referenced tag link 2024-03-02 01:31:33 +08:00
UnamedRus
912b8baf57
Merge branch 'ClickHouse:master' into topk-statistics-count-errors 2024-03-02 00:43:29 +09:00
Robert Schulze
68181ab00f
Revert "Revert "Add toMillisecond function""
This reverts commit 5225fc6a14.
2024-03-01 13:14:44 +00:00
Alexander Tokmakov
5225fc6a14
Revert "Add toMillisecond function" 2024-03-01 13:59:03 +01:00
Robert Schulze
dc2d022cc4
Docs: Follow-up to #58023 2024-03-01 12:29:57 +00:00
Robert Schulze
2e256b4c17
Merge pull request #60500 from allmazz/feature/increase_dns_cache_size
Rename dns_cache_max_size to dns_cache_max_entries
2024-03-01 12:38:07 +01:00
Robert Schulze
44c3de1a0b
Merge pull request #60281 from Blargian/54746_to_millisecond_function
Add `toMillisecond` function
2024-03-01 11:34:20 +01:00
Robert Schulze
39457cd5ac
Merge remote-tracking branch 'ClickHouse/master' into feature/increase_dns_cache_size 2024-03-01 10:29:46 +00:00
Robert Schulze
0986d80a1c
Merge remote-tracking branch 'rschu1ze/master' into byteSlice 2024-03-01 10:10:30 +00:00
SmitaRKulkarni
89fff6852a
Merge pull request #60251 from ClickHouse/Fix_endpoint_for_azureblobstorage
Azure Blob Storage : Fix issues endpoint and prefix
2024-03-01 10:23:49 +01:00
Antonio Andelic
5104029f62
Merge pull request #59535 from josh-hildred/tar_support
Add support for reading and writing backups as tar archives
2024-03-01 10:01:59 +01:00
Nataly Merezhuk
a6cebad52b Adds note on supported PostgreSQL versions. 2024-02-29 16:32:29 -05:00
Alexey Milovidov
930846a42d Merge remote-tracking branch 'origin' into changelog-24.2 2024-02-29 21:57:28 +01:00
Blargian
3e5bf7935e Fix documentation 2024-02-29 21:46:25 +01:00
Robert Schulze
efb0e638c0
Merge remote-tracking branch 'rschu1ze/master' into byteSlice 2024-02-29 15:59:14 +00:00
Raúl Marín
d661acc7b0
Merge pull request #60551 from pamarcos/patch-2
Fix typo in query_thread_log doc
2024-02-29 16:41:31 +01:00
Joshua Hildred
ca9a6f809f add support for .tar.zst and tar.xz 2024-02-29 05:20:53 -08:00
Joshua Hildred
79aec12771 Update docs 2024-02-29 05:20:52 -08:00
Joshua Hildred
1bb9115abd Add documentation 2024-02-29 05:20:51 -08:00
Sergei Trifonov
f8561b2265
Revert "Revert "Support resource request canceling"" 2024-02-29 13:53:27 +01:00
Pablo Marcos
4db4a82ae0 Update thread_id to sync with Russian doc 2024-02-29 13:31:36 +01:00
Michael Kolupaev
42437a2ae1 Userspace page cache (#53770)
* Userspace page cache

* Maybe it'll build this time, who knows.

* 'auto' went out of fashion, I guess

* Documentation, tsan workaround, metric 'UnreclaimableRss', disable page cache in the test that uses DatabaseOrdinary

* Moved CachedInMemoryReadBufferFromFile to object store level, changed settings, addressed other comments.

* Fix

* Another fix

* Fix restricted seek, fix ppc64le build

* Don't allow page cache with file cache

* Adjust tests a little

* Fix clang-tidy

* Conflicts

* Comments

* Maybe unbroke AsynchronousBoundedReadBuffer

* SettingsChangesHistory.h

* Fix warning in test
2024-02-29 12:28:32 +00:00
Pablo Marcos
28735a4ba4
Fix typo in query_thread_log doc
Fix typo in query_thread_log doc
2024-02-29 13:23:36 +01:00
Robert Schulze
e760c082bf
More fixups for tukey 2024-02-29 12:23:17 +00:00
Alexander Tokmakov
15e1191f74
Revert "Userspace page cache (#53770)"
This reverts commit 7b55c61551.
2024-02-29 13:20:17 +01:00
Robert Schulze
cfed36e8a9
Merge remote-tracking branch 'rschu1ze/master' into byteSlice 2024-02-29 11:29:15 +00:00
Robert Schulze
070f9d952f
Merge remote-tracking branch 'ClickHouse/master' into feature/increase_dns_cache_size 2024-02-29 11:27:59 +00:00
Michael Kolupaev
7b55c61551
Userspace page cache (#53770)
* Userspace page cache

* Maybe it'll build this time, who knows.

* 'auto' went out of fashion, I guess

* Documentation, tsan workaround, metric 'UnreclaimableRss', disable page cache in the test that uses DatabaseOrdinary

* Moved CachedInMemoryReadBufferFromFile to object store level, changed settings, addressed other comments.

* Fix

* Another fix

* Fix restricted seek, fix ppc64le build

* Don't allow page cache with file cache

* Adjust tests a little

* Fix clang-tidy

* Conflicts

* Comments

* Maybe unbroke AsynchronousBoundedReadBuffer

* SettingsChangesHistory.h

* Fix warning in test
2024-02-29 11:27:32 +00:00
Smita Kulkarni
a168a84624 Merge branch 'master' into Fix_endpoint_for_azureblobstorage 2024-02-29 10:55:31 +01:00
Smita Kulkarni
5d68c9f046 Updated default value of endpoint_contains_account_name to true 2024-02-29 09:38:13 +01:00
Kirill Nikiforov
48a4265f3e rename dns_cache_max_size to dns_cache_max_entries 2024-02-29 06:03:44 +03:00
Kirill Nikiforov
fe247cb64d rename dns_cache_max_size to dns_cache_max_entries 2024-02-29 06:03:44 +03:00
Kirill Nikiforov
b1db898747 increase default dns_cache_max_size to 1Mb 2024-02-29 06:03:30 +03:00
Alexey Milovidov
7c0ee5a783
Merge pull request #60198 from Avogar/variant-improvements
Fixes and improvements for Variant type
2024-02-29 03:27:22 +03:00
Alexey Milovidov
e6dffb1f2d
Merge pull request #60379 from rogeryk/improve-pretty-format
Improve pretty format if a block consists of a single numeric value and exceeds one million.
2024-02-29 02:20:42 +03:00
Alexander Tokmakov
25c82a5949
Merge pull request #57798 from kirillgarbar/modify-engine
Convert MergeTree tables to replicated on server restart if flag is set
2024-02-28 21:55:15 +01:00
Robert Schulze
42f29c01cf
Merge remote-tracking branch 'rschu1ze/master' into byteSlice 2024-02-28 19:10:48 +00:00
Kruglov Pavel
a7eabbbe3a
Merge branch 'master' into variant-improvements 2024-02-28 17:38:54 +01:00
Robert Schulze
e02c083e60
Add convenience alias byteSlice for substring 2024-02-28 13:32:56 +00:00
Robert Schulze
b380d06e6e
Update date-time-functions.md 2024-02-28 12:20:29 +01:00
Robert Schulze
6306e51ee9
Update date-time-functions.md 2024-02-28 12:18:58 +01:00
Robert Schulze
613e426484
Some fixups 2024-02-28 11:14:53 +00:00
Smita Kulkarni
a46d7c9191 Updated docs and addressed comments 2024-02-28 11:25:35 +01:00
YenchangChan
ae0ff7c32e docs: add ckman to gui documents 2024-02-28 08:29:31 +08:00
pufit
330a206470
Add definers for views (Attempt 2) (#60439) 2024-02-27 19:00:17 -05:00
Anton Popov
3cdd3495fd
Merge pull request #60435 from CurtizJ/return-back-58140
Revert "Revert "Add table function `mergeTreeIndex`""
2024-02-28 00:52:44 +01:00
robot-ch-test-poll1
435c42bcad
Merge pull request #60458 from ClickHouse/fix-file-cluster-example
Fix query example in fileCluster.md
2024-02-28 02:49:26 +04:00
Alexey Milovidov
350038dd5f
Merge pull request #54429 from fermelone/patch-3
Update settings_profile_elements.md
2024-02-28 01:38:12 +03:00
Alexey Milovidov
186c786104
Update docs/en/sql-reference/table-functions/fileCluster.md 2024-02-28 01:20:14 +03:00
Alexey Milovidov
4df5d13a33
Update docs/en/sql-reference/table-functions/fileCluster.md 2024-02-28 01:19:54 +03:00
Igor Nikonov
4e406c6d8d
Fix query example in fileCluster.md 2024-02-27 17:40:36 +01:00
Robert Schulze
0f6bec7842
Merge pull request #59291 from azat/dist/config-settings
Support specifying settings for Distributed engine in config (like for MergeTree)
2024-02-27 16:10:51 +01:00
Alexey Milovidov
7c6e28708b
Merge pull request #60370 from ClickHouse/remove-alter-live-view
Remove ALTER LIVE VIEW
2024-02-27 17:45:59 +03:00
Yarik Briukhovetskyi
7c6a5f4513
Merge pull request #59598 from yariks5s/group_array_intersect
New aggregate function groupArrayIntersect
2024-02-27 14:30:49 +01:00
Robert Schulze
de45c26262
Merge pull request #60365 from rschu1ze/mysql-friday-evening-fix
MySQL: Force-set `prefer_column_name_to_alias` in handler and set `mysql_map_(fixed)_string_to_text_in_show_columns` by default
2024-02-27 12:13:07 +01:00
robot-clickhouse-ci-2
c8db5403d7
Merge pull request #60401 from peter279k/refa_install
Simplify the importing GPG keys approach
2024-02-27 02:30:06 +01:00
Alexey Milovidov
cf7a0b0d8f
Merge pull request #60337 from ClickHouse/docs-insert-details
[Docs] Add more details on INSERTs
2024-02-27 03:57:17 +03:00
Alexey Milovidov
9845b9ec4d
Merge pull request #60342 from DerekChia/patch-5
Update default value for async_insert_deduplicate
2024-02-27 03:46:44 +03:00
Alexey Milovidov
31e776017f
Merge pull request #60399 from peter279k/add_perm_thp
Add the permanent approach for setting THP
2024-02-27 03:45:32 +03:00
Alexey Milovidov
71bbb86802
Merge pull request #60424 from ClickHouse/docs/add-version-function
Adds docs for version().
2024-02-27 03:44:13 +03:00
Alexey Milovidov
78af414629
Merge pull request #60367 from charliegroll/patch-1
[Docs] Grammar corrections for clarity
2024-02-27 03:39:28 +03:00
Anton Popov
d683977fe9 Revert "Revert "Add table function mergeTreeIndex""
This reverts commit 1e4199d704.
2024-02-26 22:47:39 +00:00
Robert Schulze
ac7a3cd18d
Merge remote-tracking branch 'rschu1ze/master' into mysql-friday-evening-fix 2024-02-26 22:00:45 +00:00
Robert Schulze
4794dc28f0
Merge remote-tracking branch 'ClickHouse/master' into dist/config-settings 2024-02-26 21:57:33 +00:00
Kirill Nikiforov
8b314a3ac8
Implement system.dns_cache table and dns_cache_max_size server setting (#60257)
* system.dns_cache table WIP

* system.dns_cache table

* rollback unexpected contrib changes

* rollback unexpected changes

* add docs

* code style fixes

* optimize dns cache exporting

* stateful test for system.dns_cache table

* stateful test for system.dns_cache table

* cr fixes

* stateful test for system.dns_cache table

* stateful test for system.dns_cache table

* implement system.dns_cache table

* system.dns_cache test

* system.dns_cache fix docs

* system.dns_cache prettify

* dns_cache_max_size settings

* fix system.dns_cache test

* Update dns_cache.md

* fix doc

Co-authored-by: pufit <pufit@clickhouse.com>

---------

Co-authored-by: pufit <pufit@clickhouse.com>
2024-02-26 15:48:02 -05:00
Alexey Milovidov
9dff4e8331
Merge pull request #58533 from zvonand/zvonand-volume-priority
Allow to define `volume_priority` in `storage_configuration`
2024-02-26 22:57:10 +03:00
Alexander Tokmakov
1e4199d704
Revert "Add table function mergeTreeIndex" 2024-02-26 19:37:06 +01:00
Alexander Tokmakov
07e22dbe50 Merge branch 'master' into ddl_none_only_active 2024-02-26 17:53:11 +01:00
Johnny
5bd8f4356c
Cleans up version() example. 2024-02-26 12:41:44 -04:00
Anton Popov
814cd53918
Merge pull request #58140 from CurtizJ/storage-merge-tree-index
Add table function `mergeTreeIndex`
2024-02-26 16:31:56 +01:00
Raúl Marín
dfbca34298
Merge pull request #60053 from ClickHouse/melvynator-patch-2
Update settings.md
2024-02-26 16:22:08 +01:00
HowePa
0b72f7b182 Make all format names case insensitive. 2024-02-26 22:46:51 +08:00
Robert Schulze
048f7ec3e9
Merge pull request #59516 from rschu1ze/cgroup-observing-memory-tracker
Update memory tracker periodically with cgroup memory usage
2024-02-26 15:27:19 +01:00
peter279k
16a9a8cdf1
Add the permanent approach for setting THP 2024-02-26 21:57:02 +08:00
Smita Kulkarni
6ec23a0879 Updated docs for endpoint 2024-02-26 14:36:06 +01:00
Kruglov Pavel
d184ebff6a
Merge pull request #60343 from Alex-Cheng/master
Update settings.md to correct the description for setting `max_concur…
2024-02-26 14:21:10 +01:00
Raúl Marín
a8878bfdc5 Merge remote-tracking branch 'blessed/master' into melvynator-patch-2 2024-02-26 14:18:41 +01:00
Kruglov Pavel
1a9ee8c318
Merge pull request #60372 from HowePa/single_arg_merge
Support single-argument version for the merge table function
2024-02-26 13:43:04 +01:00
Yarik Briukhovetskyi
d88fb26e0c
Merge branch 'ClickHouse:master' into group_array_intersect 2024-02-26 13:25:26 +01:00
robot-clickhouse-ci-1
d98fbcb8d1
Merge pull request #60402 from rschu1ze/doc-settings_changes
Document `system.settings_changes`
2024-02-26 13:20:52 +01:00
rogeryk
7a92f542b4 Add setting output_format_pretty_single_large_number_tip_threshold 2024-02-26 20:19:53 +08:00
Robert Schulze
207187ab97
Update docs/en/operations/system-tables/settings_changes.md
Co-authored-by: Yarik Briukhovetskyi <114298166+yariks5s@users.noreply.github.com>
2024-02-26 12:54:27 +01:00
Robert Schulze
1751d76234
Minor doc fixups 2024-02-26 11:42:11 +00:00
Yarik Briukhovetskyi
e04a89349d
Merge branch 'ClickHouse:master' into group_array_intersect 2024-02-26 12:29:22 +01:00
Robert Schulze
6bfa31fbef
Document system.settings_changes 2024-02-26 11:10:23 +00:00
peter279k
440d29ce9e
Simplify the importing GPG keys approach 2024-02-26 18:20:45 +08:00
Robert Schulze
5c967c44de
Merge pull request #60248 from ClickHouse/revert-59450-order-by-all-ambiguities
Revert "Replace `ORDER BY ALL` by `ORDER BY *`"
2024-02-26 10:23:41 +01:00
Andrey Zvonov
b4e582f47b
Merge branch 'ClickHouse:master' into zvonand-volume-priority 2024-02-26 09:54:29 +01:00
Alexey Milovidov
4ae5d78f54 Merge branch 'master' into remove-alter-live-view 2024-02-26 00:00:28 +01:00
rogeryk
65474216e0
Update build-osx.md
The NASM is required, The corresponding installation is missing from the doc.
2024-02-25 16:50:41 +08:00
HowePa
17f60b54cb single arg merge table func 2024-02-24 08:02:13 +08:00
Alexey Milovidov
2eb4d25126 Remove ALTER LIVE VIEW 2024-02-23 22:56:18 +01:00
avogar
8fa75a21c5 Don't allow suspicious variant types by default, add notes in documentation 2024-02-23 20:48:38 +00:00
Charlie
05e16e6249
Update stochasticlinearregression.md 2024-02-23 12:33:14 -07:00
avogar
39ad054e94 Merge branch 'master' of github.com:ClickHouse/ClickHouse into variant-improvements 2024-02-23 18:59:34 +00:00
Robert Schulze
b9f5a2f620
Enable prefer_column_name_to_alias in MySQL Handler, default enable two MySQL settings 2024-02-23 17:42:54 +00:00
Pablo Musa
1d335ca645
Fix typos on postgresql.md 2024-02-23 18:34:44 +01:00
9611008+johnnymatthews@users.noreply.github.com
290de0a810 Adds docs for version(). 2024-02-23 12:26:29 -04:00
Andrey Zvonov
a85a6d65bd
Merge branch 'ClickHouse:master' into zvonand-volume-priority 2024-02-23 16:04:52 +01:00
Nikita Mikhaylov
8fef0b71c4
Merge pull request #60350 from ClickHouse/revert-54901-pufit/views-sql-security
Revert "Add definers for views"
2024-02-23 15:15:36 +01:00
Alexander Tokmakov
011c694117 add none_only_active DDL output mode 2024-02-23 13:10:01 +01:00
Sergei Trifonov
2c766cf75f
Merge pull request #59507 from ClickHouse/alter-table-forget-partition
Add `FORGET PARTITION` query to remove old partition nodes from ZooKeeper
2024-02-23 12:55:08 +01:00
Raúl Marín
464b5e0e15
Revert "Add definers for views (#54901)"
This reverts commit 57306706b3.
2024-02-23 12:44:31 +01:00
Nikolai Kochetov
dfccd521f3
Merge pull request #60221 from kitaisreal/backups-docs-id-setting
Backups documentation added id setting
2024-02-23 12:09:29 +01:00
Justin de Guzman
1df831b717
[Docs] Clarify that async inserts are deduplicated by default 2024-02-23 02:18:04 -08:00
Justin de Guzman
4af942567d
[Docs] Add info on squashing for large inserts 2024-02-23 01:39:45 -08:00
Justin de Guzman
e73d53fbc5
[Docs] Fix links 2024-02-23 01:23:36 -08:00
Alex Cheng
aca69a7b97
Update settings.md to correct the description for setting max_concurrent_queries_for_user 2024-02-23 13:49:15 +08:00
Derek Chia
455b492e05
Update settings.md 2024-02-23 11:25:22 +08:00
Justin de Guzman
8de4810374
[Docs] Fix typo
Co-authored-by: Alexey Milovidov <milovidov@clickhouse.com>
2024-02-22 14:58:24 -08:00
Justin de Guzman
bd5e4f42a6
[Docs] Add more details on INSERTs 2024-02-22 12:53:02 -08:00
János Benjamin Antal
7cad0050c0
Disambiguate alter commands list (#59532)
* Add optional parentheses to TTL element and alter command

* Add some basic tests

* Extend tests with more test cases

* Add one more test case

* Add server setting to control new formatting behavior

* Automatic style fix

* Fix segfault in `clickhouse-format` related to new server setting

* Remove format_ttl_expressions_with_parentheses

* Fix unit test compilation failures

* Introduce global flag to control the new formatting behavior

* Revert "Fix segfault in `clickhouse-format` related to new server setting"

This reverts commit d7131a3145.

* Revert accidental changes

* Revert accidental include reorder

* Revert accidental changes

* Enable new format in client and local server

---------

Co-authored-by: robot-clickhouse <robot-clickhouse@users.noreply.github.com>
2024-02-22 19:17:15 +01:00
pufit
57306706b3
Add definers for views (#54901) 2024-02-22 17:47:50 +01:00
Shaun Struwig
0eca413fe2
Update date-time-functions.md
correct casing in documentation
2024-02-22 12:38:01 +01:00
Robert Schulze
ae597d86dd
Merge remote-tracking branch 'rschu1ze/master' into vector-dot-product 2024-02-22 10:16:28 +00:00
Robert Schulze
d2cb434be9
Merge remote-tracking branch 'ClickHouse/master' into revert-59450-order-by-all-ambiguities 2024-02-22 10:12:14 +00:00
Robert Schulze
7930c2a993
Better! 2024-02-21 20:31:49 +00:00
Blargian
f9e608f369 update documentation and add a failing test 2024-02-21 21:30:49 +01:00
Alexander Tokmakov
c5ab1893d7 Merge branch 'master' into modify-engine 2024-02-21 20:37:58 +01:00
Raúl Marín
453d4d30cf
Revert "Support resource request canceling" 2024-02-21 20:19:00 +01:00
Robert Schulze
52afa46e23
Revert "Replace ORDER BY ALL by ORDER BY *" 2024-02-21 19:05:20 +01:00
Robert Schulze
5d6bc6f566
Merge pull request #60235 from rschu1ze/doc-lin-reg
Docs: Correct variable names for `simpleLinearRegression`
2024-02-21 17:47:00 +01:00
Robert Schulze
5ea3afb06e
Docs: Correct variable names for simpleLinearRegression
Fixes: #59729
2024-02-21 16:29:47 +00:00
serxa
69c5fae1bc review fixes 2024-02-21 15:11:50 +00:00
serxa
f92ec2cd5d Merge branch 'master' into cpu-scheduler-and-cc 2024-02-21 14:05:37 +00:00
serxa
bf90da7057 Merge branch 'master' into cpu-scheduler-and-cc 2024-02-21 14:05:01 +00:00
avogar
bd2390996e Merge branch 'master' of github.com:ClickHouse/ClickHouse into variant-improvements 2024-02-21 13:16:07 +01:00
Maksim Kita
d0ad87348a Backups documentation added id setting 2024-02-21 15:01:27 +03:00
Robert Schulze
6a027b3528
Merge remote-tracking branch 'rschu1ze/master' into cgroup-observing-memory-tracker 2024-02-21 11:48:34 +00:00
Robert Schulze
db974098d0
More refactoring and cleanup 2024-02-20 21:22:58 +00:00
serxa
27371ae4c4 add docs 2024-02-20 19:16:47 +00:00
avogar
122dc6769d Fixes and improvements for Variant type 2024-02-20 18:58:06 +00:00
Robert Schulze
914b19aade
Merge pull request #59450 from rschu1ze/order-by-all-ambiguities
Replace `ORDER BY ALL` by `ORDER BY *`
2024-02-20 18:16:22 +01:00
unashi
28282eee91 [fix] Add description in partition.md 2024-02-20 21:37:09 +08:00
Robert Schulze
9abd28625f
Merge pull request #60167 from rschu1ze/doc-follow-up-to-60157
Docs: Follow-up to #60157
2024-02-20 12:26:51 +01:00
Raúl Marín
f243e013ca
Merge pull request #60150 from Algunenano/cosineDistance
Fix cosineDistance crash with Nullable
2024-02-20 12:05:23 +01:00
Robert Schulze
4412f71a12
Docs: Follow-up to #60157 2024-02-20 10:16:46 +00:00
Robert Schulze
5474f36e75
Merge remote-tracking branch 'rschu1ze/master' into order-by-all-ambiguities 2024-02-20 10:09:57 +00:00
zvonand
622f3ebbe1 update behavior to be more intuitive 2024-02-20 10:19:52 +01:00
zvonand
e0d8a77792 fix typos and docs 2024-02-20 10:19:51 +01:00
zvonand
811027aa00 sort -> stable_sort 2024-02-20 10:19:51 +01:00
zvonand
1701183ced add volume_priority description in docs 2024-02-20 10:19:51 +01:00
Robert Schulze
474efd98a5
Docs: Add example how to use "replace" and "remove" attributes in configuration
Bug: 8394
2024-02-19 20:46:06 +00:00
Raúl Marín
793ae52bf8 Fix cosineDistance crash with Nullable 2024-02-19 17:30:00 +01:00
Robert Schulze
6f6e74ad8b
Merge remote-tracking branch 'rschu1ze/master' into order-by-all-ambiguities 2024-02-19 15:19:13 +00:00
Anton Popov
0aa8dafe0a Merge remote-tracking branch 'upstream/master' into HEAD 2024-02-19 14:07:55 +00:00
Kseniia Sumarokova
601b1dfaa1
Fix bad link 2024-02-19 12:21:52 +01:00
Kseniia Sumarokova
8c11f59ba8
Fix bad link, update disk web description 2024-02-19 11:01:37 +01:00
Robert Schulze
ba9661a5d4
Merge remote-tracking branch 'rschu1ze/master' into cgroup-observing-memory-tracker 2024-02-19 09:54:08 +00:00
Alexey Milovidov
3ebea51d53
Merge pull request #60052 from ClickHouse/docs-cloud-insert-tip
[Docs] Add info on using select_sequential_consistency for INSERTS in…
2024-02-17 03:18:40 +01:00
Alexey Milovidov
4c2ee23429
Update insert-into.md 2024-02-17 01:50:20 +01:00
Alexey Milovidov
731c484b3d
Revert "Implement system.dns_cache table (#59856)"
This reverts commit b5ef034697.
2024-02-17 01:46:41 +01:00
Kirill Nikiforov
b5ef034697
Implement system.dns_cache table (#59856)
* system.dns_cache table WIP

* system.dns_cache table

* rollback unexpected contrib changes

* rollback unexpected changes

* add docs

* code style fixes

* optimize dns cache exporting

* stateful test for system.dns_cache table

* stateful test for system.dns_cache table

* cr fixes

* stateful test for system.dns_cache table

* stateful test for system.dns_cache table

* Update 02981_system_dns_cache_table.sql

* Update 02981_system_dns_cache_table.reference

---------

Co-authored-by: pufit <pufit@clickhouse.com>
2024-02-16 14:31:22 -05:00
Alexander Tokmakov
03ff171922 Merge branch 'master' into modify-engine 2024-02-16 17:22:24 +01:00
Kruglov Pavel
4d6f167e0c
Merge pull request #59092 from Avogar/auto-format-detection
Try to detect file format automatically during schema inference if it's unknown
2024-02-16 14:32:18 +01:00
alesapin
0a189e830c
Merge pull request #59942 from kitaisreal/storage-system-tables-add-metadata-version
StorageSystemTables add metadata_version
2024-02-16 13:17:22 +01:00
Peignon Melvyn
afdb52a7db
Update settings.md 2024-02-16 04:46:18 +01:00
robot-clickhouse-ci-2
10d9ee3af4
Merge pull request #59607 from ClickHouse/docs-quorum-insert-settings
[Docs] Add Cloud details for quorum insert settings
2024-02-16 03:33:54 +01:00
Justin de Guzman
77c8f671cd
[Docs] Add info on using select_sequential_consistency for INSERTS in cloud 2024-02-15 18:09:11 -08:00
Ronald Bradford
712df1b51e
Update configuration-files.md
Fixed typo in XML example
2024-02-15 16:45:19 -05:00
Yarik Briukhovetskyi
a41edd8646
Merge branch 'master' into group_array_intersect 2024-02-15 19:50:57 +01:00
Igor Nikonov
062602d433 Merge remote-tracking branch 'origin/master' into docs_fix_typos 2024-02-15 18:22:00 +00:00
Kseniia Sumarokova
09e630e02b
Update storing-data.md 2024-02-15 19:00:08 +01:00
kssenii
5ae410e633 A bit more explanation 2024-02-15 18:33:38 +01:00
Robert Schulze
058461e786
Merge remote-tracking branch 'rschu1ze/master' into order-by-all-ambiguities 2024-02-15 16:21:16 +00:00
Robert Schulze
1edf3b2254
Replace ORDER BY ALL by ORDER BY * to get rid of ambiguities 2024-02-15 16:19:56 +00:00
kssenii
9bcd4daabe Better 2024-02-15 16:35:50 +01:00
kssenii
750a82a4ff Update doc 2024-02-15 13:23:33 +01:00
Yarik Briukhovetskyi
a7af4e860e
Merge pull request #60014 from ClickHouse/docs-starts-with-UTF8-min-version
[Docs] Add min version for startsWithUTF8
2024-02-15 13:09:25 +01:00
Robert Schulze
ddaef8d342
Merge pull request #59752 from rschu1ze/countMatches-fuzzed
Fix AST fuzzer issue in function `countMatches`
2024-02-15 10:02:48 +01:00
Justin de Guzman
a037933cc6
[Docs] Add min version for startsWithUTF8 2024-02-14 22:57:23 -08:00
Jake Bamrah
4f305cca41 Update min. clang version in Getting Started docs 2024-02-14 22:55:54 +00:00
divanik
97aec71fe4 Merge branch 'master' of github.com:ClickHouse/ClickHouse into divanik/generate_series_function 2024-02-14 21:05:48 +00:00
Maksim Kita
d4778d858d Fixed tests 2024-02-14 18:05:29 +03:00
Maksim Kita
0cce386207 Added documentation 2024-02-14 18:05:29 +03:00
Kruglov Pavel
4f8ee992b6
Apply suggestions from code review
Co-authored-by: Sergei Trifonov <svtrifonov@gmail.com>
2024-02-14 12:22:21 +01:00
Robert Schulze
7b7ea6d477
Merge remote-tracking branch 'rschu1ze/master' into cgroup-observing-memory-tracker 2024-02-14 08:56:22 +00:00
Kruglov Pavel
1dbfeafb42
Merge branch 'master' into auto-format-detection 2024-02-13 19:08:33 +01:00
Kruglov Pavel
42628fdd38
Merge branch 'master' into #31363_format_template_configure_in_settings 2024-02-13 17:24:54 +01:00
robot-ch-test-poll
773baca877
Merge pull request #59612 from ClickHouse/docs-temporary-tables-cloud
[Docs] Add detail on using temporary tables in Cloud
2024-02-13 02:36:07 +01:00
Nikolai Fedorovskikh
a98af159b5 [Docs] fix some typos and missing commas 2024-02-13 02:10:41 +01:00
Alexey Milovidov
b68bc3d3d7
Update docs/en/sql-reference/statements/create/table.md 2024-02-13 02:07:10 +01:00
Alexey Milovidov
31c5f1ec10
Merge pull request #59609 from ClickHouse/docs-cloud-memory-table-engine
[Docs] Specify Memory table engine usage on cloud
2024-02-13 02:06:08 +01:00
Justin de Guzman
d7850db40c
[Docs] Remove incorrect statement about Memory table engine 2024-02-12 09:54:38 -08:00
Robert Schulze
3a4b6a2379
Merge remote-tracking branch 'rschu1ze/master' into cgroup-observing-memory-tracker 2024-02-10 13:53:19 +00:00
Robert Schulze
a3487c9c47
Merge remote-tracking branch 'ClickHouse/master' into docs-editing-query-cache-settings 2024-02-10 13:34:43 +00:00
Robert Schulze
4e2d0e8bf6
Merge remote-tracking branch 'rschu1ze/master' into countMatches-fuzzed 2024-02-10 13:22:30 +00:00
Alexey Milovidov
93680caee4
Merge pull request #59784 from ClickHouse/docs-cloud-values-query-complexity
[Docs] Add cloud default values for query complexity
2024-02-09 18:06:39 +01:00
Alexey Milovidov
f3b2f27d95
Merge pull request #59783 from ClickHouse/docs-edit-default-cloud-core-settings
[Docs] Add default cloud core settings
2024-02-09 18:06:23 +01:00
divanik
c8af01ceae Merge branch 'master' of github.com:ClickHouse/ClickHouse into divanik/generate_series_function 2024-02-09 14:17:48 +00:00
Vitaly Baranov
09e727d48b
Merge pull request #56988 from ClickHouse/Azure_backup
Backup & Restore support for AzureBlobStorage
2024-02-09 14:45:35 +01:00
divanik
1b2f23247b Change documentation 2024-02-09 12:28:54 +00:00
Justin de Guzman
aa05f07130
[Docs] Corrections for default cloud values for query complexity
Co-authored-by: Alexey Milovidov <milovidov@clickhouse.com>
2024-02-08 21:41:11 -08:00
Justin de Guzman
89d4b1e77b
[Docs] Specify that some query profiler settings are disabled in Cloud 2024-02-08 21:39:08 -08:00
Justin de Guzman
2a34bbb0e0
[Docs] Cloud core settings corrections
Co-authored-by: Alexey Milovidov <milovidov@clickhouse.com>
2024-02-08 21:36:45 -08:00
robot-ch-test-poll1
ac1d513754
Merge pull request #59785 from ClickHouse/docs-cloud-value-enable_filesystem_cache_on_write_operations
[Docs] Specify cloud default value for enable_filesystem_cache_on_writ…
2024-02-09 06:59:26 +04:00
Justin de Guzman
af6ae28f3c
[Docs] Specify cloud default value for date_time_input_format 2024-02-08 18:16:44 -08:00
Justin de Guzman
f2f8a63ba8
[Docs] Change cloud default value for enable_filesystem_cache_on_write_operations 2024-02-08 18:14:21 -08:00
Justin de Guzman
32305adb08
[Docs] Remove accidental link on query complexity page 2024-02-08 18:10:01 -08:00
Justin de Guzman
2954cdf200
[Docs] Add cloud default values for query complexity 2024-02-08 18:06:34 -08:00
Justin de Guzman
d17a12fe64
[Docs] Fix for default cloud core settings 2024-02-08 17:46:37 -08:00
Justin de Guzman
fe6d8316a3
[Docs] Add default cloud core settings 2024-02-08 17:34:43 -08:00
Robert Schulze
cf0378ea76
add docs 2024-02-08 16:17:25 +00:00
Robert Schulze
cfa1a452e1
Refactorings, pt. I 2024-02-08 11:33:34 +00:00
Justin de Guzman
560e78cf41
[Docs] More details for Memory table engine in Cloud 2024-02-07 21:08:30 -08:00
Justin de Guzman
ce92f13389
[Docs] More details on quorum inserts on SMT 2024-02-07 20:02:21 -08:00
Alexander Tokmakov
510f90edf8
Merge pull request #59688 from ClickHouse/revert_39507_again
Temporarily remove a feature that doesn't work
2024-02-08 02:27:55 +01:00
divanik
145e425ddd Added Documentation 2024-02-07 15:29:45 +00:00
Smita Kulkarni
e594608c42 Merge branch 'master' into Azure_backup 2024-02-07 13:48:46 +01:00
Robert Schulze
7edcb86c08
Merge pull request #58632 from ClibMouse/series_outlier
Added function `seriesOutliersTukey` for outlier detetion in series data
2024-02-07 13:08:53 +01:00
Alexander Tokmakov
77e4b0c8d9 Revert "Merge pull request #59122 from arthurpassos/bring_back_attach_partition_pr"
This reverts commit ac90637170, reversing
changes made to fe2b5cde05.
2024-02-07 02:52:43 +01:00
Justin de Guzman
1c0fa345ac
Fix broken link for Variant data type (#59539) 2024-02-06 00:51:28 +01:00
Shaun Struwig
913c23fa88
Merge branch 'ClickHouse:master' into #31363_format_template_configure_in_settings 2024-02-06 00:20:14 +01:00
Justin de Guzman
5de010ddda
[Docs] Add detail on using temporary tables in Cloud 2024-02-05 13:29:02 -08:00
Justin de Guzman
b9bb04ebf0
[Docs] Specify Memory table engine usage on cloud 2024-02-05 13:23:54 -08:00
Justin de Guzman
c9b8559b29
[Docs] Add Cloud details for quorum insert settings 2024-02-05 13:13:33 -08:00
yariks5s
ad6dcfed81 init 2024-02-05 17:50:05 +00:00
János Benjamin Antal
59dcd22af5
Merge pull request #59445 from ClickHouse/fix-formatting-alter-queries-with-modify-column-settings
Fix `ASTAlterCommand::formatImpl` in case of column specific settings modifications
2024-02-05 17:44:30 +01:00
Robert Schulze
e414384727
Merge remote-tracking branch 'rschu1ze/master' into order-by-all-ambiguities 2024-02-05 13:17:02 +00:00
Nikolai Kochetov
89bcebfe96
Merge pull request #59544 from jrdi/fix-update-insert-deduplication-token
Fix corner case when passing `update_insert_deduplication_token_in_dependent_materialized_views`
2024-02-05 13:03:12 +01:00
Kseniia Sumarokova
83515e3656
Merge pull request #59543 from nickolaj-jepsen/master
Add support for NATS credentials file
2024-02-05 12:20:26 +01:00
Jordi Villar
9223f74c91 Fix corner case when passing update_insert_deduplication_token_in_dependent_materialized_views 2024-02-05 10:16:45 +01:00
Blargian
8e9344e962 Merge branch 'master' into #31363_format_template_configure_in_settings 2024-02-04 20:02:17 +01:00
Alex Cheng
5c3e119a4f
Merge branch 'ClickHouse:master' into master 2024-02-04 10:48:07 +08:00
Nickolaj Jepsen
e822ba3a47 Add support for NATS credentials file 2024-02-02 23:34:01 +01:00
Julia Kartseva
f41f4e4bd0
Merge pull request #58486 from jkartseva/adjustable-async-timeouts
Adjustable asynchronous insert timeouts
2024-02-02 08:53:58 -08:00
Bhavna Jindal
28e6e29004 Minor fixes 2024-02-02 07:46:36 -08:00
Robert Schulze
dd484fc312
Simplify what happens in SELECT all, ... [...] ORDER BY ALL
Previously setting `enable_order_by_all` distinguished for ORDER BY ALL
whether we should sort by column 'all' (if given in the SELECT clause)
or by all columns. The actual behavior was not always intuitive.

Now, we throw unconditionally an exception which also simplifies the
handling a bit. Only an edge case is affected and if users really want
to run ORDER BY ALL on a column names 'all', they can alias it.
2024-02-02 09:53:35 +00:00
János Benjamin Antal
1faa04de48 Fix typo 2024-02-02 08:58:43 +00:00
Julia Kartseva
5b07039ab2 Update settings.md 2024-02-01 22:45:10 +00:00
Bhavna Jindal
ce31fa912b removed unnecessary method overloading and fixed documentation 2024-02-01 09:24:12 -08:00
János Benjamin Antal
a0935770bb Fix docs 2024-02-01 14:50:29 +00:00
Fille
25c87b7cb7
Update configuration-files.md
Fixed typo in XML example
2024-02-01 10:37:10 +01:00
Blargian
58ae4cf648 Merge branch 'master' into #31363_format_template_configure_in_settings 2024-02-01 05:39:22 +01:00
robot-clickhouse
b49ae582ce
Merge pull request #59449 from seandhaynes/bench-docs
Update bench docs to reflect removal of -p (port) short option
2024-01-31 23:28:11 +01:00
Alexey Milovidov
8d2f3508f2
Merge pull request #58767 from gingerwizard/weather-data
weather data
2024-01-31 23:12:08 +01:00
Alexey Milovidov
5128023e8f
Merge pull request #59350 from AVMusorin/clickhouse-client-docs
docs: added hidden clickhouse-client shortkeys and aliases
2024-01-31 23:11:25 +01:00
Alexey Milovidov
31e99ee61f
Update clickhouse-benchmark.md 2024-02-01 01:01:59 +03:00
Sean Haynes
ed3d5ce0a3 Update bench docs to reflect removal of -p (port) short option 2024-01-31 21:52:52 +00:00
Bhavna Jindal
4bc26fe45f Added support for custom percentiles and K 2024-01-31 10:41:05 -08:00
Bhavna Jindal
487ef67e97 Added custom tukey 2024-01-31 10:39:58 -08:00
Bhavna Jindal
d2ce39387f implemented series_outlier method 2024-01-31 10:39:39 -08:00
Vitaly Baranov
a193e01c8f
Merge pull request #54737 from arenadata/ADQM-1150
Added maximum sequential login failures to the quota.
2024-01-31 16:06:17 +01:00
Kruglov Pavel
325419b096
Merge pull request #59398 from Avogar/variant-type-func
Add function variantType
2024-01-31 13:06:54 +01:00
Nikolai Kochetov
7e722b52a9
Merge pull request #59003 from kitaisreal/revert-57519-revert-53562-group_sorted_array_function
Revert "Revert "Add new aggregation function groupArraySorted()""
2024-01-31 12:31:26 +01:00
avogar
584694ed51 Add function variantType 2024-01-30 18:01:12 +00:00
Maksim Kita
20c1f0c18f Revert "Revert "Add new aggregation function groupArraySorted()"" 2024-01-30 17:15:29 +03:00
Blargian
df439dcfdd updated development documentation to warn about parallel tests failing if .tmp file names aren't unique (for new contributors) 2024-01-30 14:36:08 +01:00
Alexey Milovidov
8eac21c963 Merge branch 'master' of github.com:ClickHouse/ClickHouse into rename-ddsketch 2024-01-30 11:50:52 +01:00
Alexey Milovidov
798f655276 Rename quantileDDSketch to quantileDD 2024-01-30 11:49:56 +01:00
Dale McDiarmid
a4ed4a1827
Merge branch 'master' into weather-data 2024-01-30 09:12:32 +00:00
Alexey Milovidov
bcc99a216d
Update json.md 2024-01-30 09:10:11 +03:00
Alexey Milovidov
b4a5b6060e
Merge pull request #59341 from rschu1ze/non-string-concat-with-separator
Allow non-string arguments in `concatWithSeparator()`
2024-01-30 04:10:06 +01:00
Alexey Milovidov
ac90637170
Merge pull request #59122 from arthurpassos/bring_back_attach_partition_pr
Revert revert attach partition PR
2024-01-30 04:02:31 +01:00
Alexey Gerasimchuck
559de083a3 Implemented failed login attempt counting using quota 2024-01-29 23:20:38 +00:00
Shaun Struwig
e081a4f059
Merge branch 'master' into #31363_format_template_configure_in_settings 2024-01-29 21:29:22 +01:00
Blargian
4a8a7208f2 rename of settings, add setting for resultset, extend test, fix documentation and add to SettingsChanges log 2024-01-29 21:25:58 +01:00
Robert Schulze
7683b44bf6
Merge pull request #58961 from ClibMouse/seriesDecompose
Return baseline component from function `seriesDecomposeSTL()`
2024-01-29 20:41:09 +01:00
Arthur Passos
15d04d0a78
Merge branch 'master' into bring_back_attach_partition_pr 2024-01-29 15:16:49 -03:00
Aleksandr Musorin
be6a6ca3b3 docs: added hidden clickhouse-client shortkeys and aliases 2024-01-29 18:31:11 +01:00
Raúl Marín
468c7cf835
Merge pull request #59329 from Algunenano/prefertch
Fix typo
2024-01-29 17:02:01 +01:00
avogar
377937d415 Merge branch 'master' of github.com:ClickHouse/ClickHouse into auto-format-detection 2024-01-29 15:45:18 +00:00
Robert Schulze
c2b7d2047e
Support arguments of arbitary type in function concatWithSeparator()
Follow-up to #56540
2024-01-29 14:11:21 +00:00
Nikolai Kochetov
a51aa7b668
Merge pull request #59238 from kitaisreal/update-insert-deduplication-token-in-dependent-materialized-views
Added setting update_insert_deduplication_token_in_dependent_materialized_views
2024-01-29 12:52:06 +01:00
Raúl Marín
ab2b12ba9f Fix typo 2024-01-29 11:40:12 +01:00
Smita Kulkarni
3183026521 Merge branch 'master' into Azure_backup 2024-01-29 11:08:13 +01:00
Arthur Passos
0bbfef884c
Merge branch 'ClickHouse:master' into bring_back_attach_partition_pr 2024-01-28 17:43:38 -03:00
UnamedRus
94770f8d8a
Merge branch 'master' into topk-statistics-count-errors 2024-01-28 20:50:45 +03:00
avogar
92db86b829 Merge branch 'master' of github.com:ClickHouse/ClickHouse into variant-data-type 2024-01-28 14:33:49 +00:00
serxa
963e54cfd1 Merge branch 'master' into cpu-scheduler-and-cc 2024-01-28 13:09:58 +00:00
robot-ch-test-poll4
c0fc804797
Merge pull request #59289 from ClickHouse/melvynator-exp-rmv
Update view.md
2024-01-28 00:17:56 +01:00
Peignon Melvyn
cf1df96cc1
Update view.md
Improved documentation.
2024-01-27 17:27:00 +01:00
Maksim Kita
4a10b71252 Updated documentation 2024-01-27 15:57:49 +03:00
Maksim Kita
4ae425461f Added documentation 2024-01-27 15:57:49 +03:00
Peignon Melvyn
4273ae4f4f
Update view.md 2024-01-26 21:27:20 +01:00
avogar
5833641fa5 Merge branch 'master' of github.com:ClickHouse/ClickHouse into variant-data-type 2024-01-26 16:54:02 +00:00
Artur Beglaryan
1624ecd7e6
Fixed typo in documentation
Added missed parameter in xml dictionary config
2024-01-26 15:02:28 +00:00
Arthur Passos
ce6877cbb6
Merge branch 'ClickHouse:master' into bring_back_attach_partition_pr 2024-01-26 10:57:11 -03:00
Kruglov Pavel
46a6b84a5a
Merge branch 'master' into auto-format-detection 2024-01-25 22:11:07 +01:00
avogar
ff15ab12b8 Remove bad implementation of DataTypeVariant::createColumnConst, support use_variant_as_common_type setting in functions array/map 2024-01-25 21:06:50 +00:00
avogar
4b26de9660 Rename setting to use it not only in if/multiIf in future 2024-01-25 13:26:13 +00:00
Mikhail f. Shiryaev
38898575e5
Merge branch 'master' into #31363_format_template_configure_in_settings 2024-01-24 20:49:38 +01:00
Bhavna Jindal
926982856d Merge remote-tracking branch 'upstream/master' into seriesDecompose 2024-01-24 10:11:00 -08:00
jsc0218
03fc10d68a
Merge pull request #59017 from filimonov/patch-8
Update rename.md
2024-01-24 11:38:56 -05:00
Shaun Struwig
e988f8a471
fix typo in formats.md 2024-01-24 17:30:04 +01:00
Alex Cheng
3e795ccb01
Merge branch 'ClickHouse:master' into master 2024-01-24 21:11:03 +08:00
Alex Cheng
10aaf2cbe4
fix the default number of async_insert_max_data_size 2024-01-24 21:10:48 +08:00
Kruglov Pavel
89bafbcda6
Merge pull request #59133 from Avogar/allow-to-ignore-schema-evolution-in-iceberg
Allow to ignore schema evolution in Iceberg table engine under a setting
2024-01-24 13:19:09 +01:00
Smita Kulkarni
4d92eba316 Merge branch 'master' into Azure_backup 2024-01-24 11:13:57 +01:00
zhongyuankai
d970cd5b61 drop tables 2024-01-24 11:17:52 +08:00
Yarik Briukhovetskyi
d5ab31f8f0
Merge pull request #58895 from avinzhang/patch-1
Update executable.md
2024-01-23 23:33:35 +01:00
avogar
1bff525666 Fix tests and docs 2024-01-23 18:59:40 +00:00
avogar
f05174e441 Fix style 2024-01-23 18:59:40 +00:00
avogar
617cc514b7 Try to detect file format automatically during schema inference if it's unknown 2024-01-23 18:59:39 +00:00
avogar
1fd4b26c3c Better docs 2024-01-23 17:48:50 +00:00
avogar
be3b5dc45f Allow to ignore schema evolution in Iceberg table engine under a setting 2024-01-23 17:45:41 +00:00
Arthur Passos
799a94081b Revert "Revert "Allow to attach partition from table with different partition expression when destination partition expression doesn't re-partition""
This reverts commit a1c83e2f51.
2024-01-23 11:40:42 -03:00
Robert Schulze
a1c83e2f51
Revert "Allow to attach partition from table with different partition expression when destination partition expression doesn't re-partition" 2024-01-23 15:26:04 +01:00
Anton Popov
bceda4cd29 Merge remote-tracking branch 'upstream/master' into HEAD 2024-01-23 14:03:34 +00:00
Robert Schulze
e23e7e6b73
Merge pull request #53710 from rschu1ze/system-reload-asynchronous-metrics
Add statement `SYSTEM RELOAD ASYNCHRONOUS METRICS`
2024-01-23 11:56:25 +01:00
Robert Schulze
e67076ea2b
Merge pull request #55201 from canhld94/column_level_compress_block
Column-level compression block sizes
2024-01-23 11:22:03 +01:00
Robert Schulze
5a420cd9b1
Update docs 2024-01-23 06:18:07 +00:00
Nikita Taranov
09e24ed6c5
Merge pull request #58068 from zhongyuankai/limit_materialized_view_size
A limit on the number of materialized views attached to a table.
2024-01-22 22:50:56 +01:00
Bhavna Jindal
d9edd5a7f3 fix spell check 2024-01-22 13:32:57 -08:00
Bhavna Jindal
f935493f28 fix trailing whitespaces 2024-01-22 13:32:57 -08:00
Bhavna Jindal
c59f3e164f Return baseline component as fourth array 2024-01-22 13:32:57 -08:00
Blargian
3832a8261a #31363 - update documentation for En and Ru 2024-01-22 23:20:02 +02:00
Arthur Passos
24b8bbe9fa
Allow to attach partition from table with different partition expression when destination partition expression doesn't re-partition (#39507)
* temp commit

* temp commit

* draft impl for feedback

* fix weird style changes

* fix weird style changes

* fix weird style changes

* fix weird style changes

* fix weird style changes

* aa

* aa

* Add integ tests and remove partition key restriction

* fix small incosistency in partition id

* style fix

* style fix

* style fix

* use existing DataPartStorageBuilder instead of new one

* Refactor part clone to make it more readable and maintainable

* Add MergeTreeDataPartCloner docs

* define ErrorCodes::BAD_ARGUMENTS

* Rebase

* camel case methods

* address some comments

* yet another rebase?

* Move from integ tests to stateless tests

* address more comments

* add finalize on min_max_idx files

* Add sync option to DistinctPartitionExpCloner

* just a temp test

* revert temp change

* Use echoOn to distinguish test queries

* remove comment

* fix build issue during rebase

* atempt to fix build after rebase

* finally fix build

* clear minmaxidx hyperrectangle before loading it

* Fix error on min_max files deletion where it was being assumed that partition expression contained all columns

* get it to the state it was previously

* add missing include

* getting functional?

* refactoring and renaming

* some more refactoring

* extern bad arguments

* try to fix style

* improvements and docs

* remove duplicate includes

* fix crash

* make tests more stable by ordering

* rebase once again..

* fix

* make ci happy?

* fix rebase issues

* docs

* rebase, but prolly needs to be improved

* refactor out from nasty inheritance to static methods

* fix style

* work around optional

* refactor & integrate some changes

* update column_type

* add tests by dencrane

* set utc

* fix ref file

* fix tests

* use MergeTree instead of SummingMergeTree

* mark MergeTreeDataPart::getBlock as const

* address a few comments

* compute module function name size at compile time

* simplify branching in getPartitionAstFieldsCount

* remove column_indexes argument

* merge getBlock with buildBlock

* add some const specifiers

* small adjustments

* remove no longer needed isNull check

* use std::min and max to update global min max idx

* add some assertions

* forward declare some symbols

* fix grammar

* forward decl

* try to fix build..

* remove IFunction forward decl

* Revert "use std::min and max to update global min max idx"

This reverts commit b2fe79dda7.

* Revert "remove no longer needed isNull check"

This reverts commit 129db2610f.

* Revert "Revert "remove no longer needed isNull check""

This reverts commit 9416087dd8.

* Revert "Revert "use std::min and max to update global min max idx""

This reverts commit 20246d4416.

* remove some comments

* partial use of MonotonicityCheckMatcher

* ranges

* remove KeyDescriptionMonotonicityChecker

* remove duplication of applyfunction

* move functions to anonymous namespace

* move functions to cpp

* Relax partition compatibility requirements by accepting subset, add tests from partitioned to unpartitioned

* updte reference file

* Support for partition by a, b, c to partition by a, b

* refactoring part 1

* refactoring part 2, use hyperrectangle, still not complete

* refactoring part 3, build hyperrectangle with intersection of source & destination min max columns

* Support attaching to table with partition expression of multiple expressions

* add tests

* rename method

* remove some code duplication

* draft impl for replicatedmergetree, need to dive deeper

* ship ref file

* fix impl for replicatedmergetree..

* forbid attach empty partition replicatedmergetree

* Add replicated merge tree integration tests

* add test missing files

* fix black

* do not check for monotonicity of empty partition

* add empty tests & fix replicated

* remove no longer needed buildBlockWithMinMaxINdexes

* remove column logic in buildHyperrectangle

* simplify implementation by using existing methods

* further simplify implementation

* move all MergeTreeDataPartClone private methods to .cpp file

* decrease decomposition

* use different namespaces

* reduce code duplication

* fix style

* address a few comments

* add chassert to assert arguments size on MonotonicityCheckVisitor

* remove deleteMinMaxFiles method

* remove useless checks from sanitycheck

* add tests for attach partition (not id)

* Remove sanityCheckASTPartition and bring back conditional getPartitionIDFromQuery

* remove empty block comment

* small fixes

* fix formatting

* add missing include

* remove duplicate iuncludes

* trigger ci

* reduce some code duplication

* use updated partition id on replicatedmergetree

* fix build

* fix build

* small refactor

* do not use insert increment on fetch part

* remove duplicate includes

* add one more integ test

* black

* black

* rely on partition exp instead of partition id on replicated part fetch to decide if it is a different partition exp

* add one more integ test

* add order by clause

* fix black

---------

Co-authored-by: Alexey Milovidov <milovidov@clickhouse.com>
2024-01-22 21:00:04 +01:00
Robert Schulze
90a0ea36b3
Add statement 'SYSTEM RELOAD ASYNCHRONOUS METRICS' 2024-01-22 17:14:58 +00:00
Kruglov Pavel
0829de8928
Merge pull request #57599 from Khatskevich/khatskevich/fix_docs
Improve named collections documentation
2024-01-22 12:54:57 +01:00
serxa
e6d1ba46df Merge branch 'master' into cpu-scheduler-and-cc 2024-01-22 11:18:42 +00:00
jsc0218
6f3124acdb
Merge pull request #58402 from zhangyifan27/add_max_estimated_execution_time
Seperate max_execution_time and max_estimated_execution_time
2024-01-21 19:57:06 -05:00
serxa
799b8d6356 support resource request canceling 2024-01-21 19:00:40 +00:00