Commit Graph

17512 Commits

Author SHA1 Message Date
Robert Schulze
349894fc2b
Fixes #61051 2024-03-10 13:13:59 +00:00
Alexey Milovidov
d337379385 Remove in-memory data parts, step 2 2024-03-10 06:44:26 +01:00
robot-clickhouse-ci-2
1c44f3d091
Merge pull request #61063 from HowePa/patch-1
[Docs] correction arguments in `clickhouse-local`
2024-03-09 03:57:52 +01:00
Alexander Tokmakov
854abd64d8
Merge pull request #60340 from ClickHouse/ddl_none_only_active
Add none_only_active DDL output mode
2024-03-08 22:20:40 +01:00
johnnymatthews
2196c75dd8 Adds substring-UTF8 docs. 2024-03-08 11:07:04 -04:00
Alex Cheng
84339acde1
Merge branch 'ClickHouse:master' into master 2024-03-08 19:38:25 +08:00
Dmitry Novik
ac3d0e2df8
Merge pull request #60937 from mneedham/patch-2
Window functions intro
2024-03-08 12:06:18 +01:00
Robert Schulze
1366a3ebe2
Merge pull request #60649 from rschu1ze/revert-revert-54746_to_millisecond_function
Revert "Revert "Add `toMillisecond` function""
2024-03-08 10:55:04 +01:00
Alex Cheng
b1dcf3183b
Update settings.md 2024-03-08 17:37:03 +08:00
豪肥肥
5bfb6f08a8
[Docs] correction arguments 2024-03-08 06:29:15 +08:00
Nikita Mikhaylov
7365da9293 Better 2024-03-07 19:30:31 +00:00
Nikita Mikhaylov
2bc4d27ac6 Bye bye 2024-03-07 19:24:39 +00:00
johnnymatthews
a00a1fd7b4 Adds readWKT docs. 2024-03-07 14:45:15 -04:00
johnnymatthews
bd194aab41 Adds makeDateTime64 function. 2024-03-07 12:55:21 -04:00
jsc0218
835afe1f34
Merge pull request #60893 from jsc0218/AddNamedCollectionGrantDoc
Add named collection grant description
2024-03-07 10:15:54 -05:00
Yarik Briukhovetskyi
b1b999f1c8
fix typo 2024-03-07 12:44:57 +01:00
Alex Cheng
8e4dec3205
Update nullable.md 2024-03-07 17:23:05 +08:00
Alex Cheng
dd5510674e
Update docs/zh/sql-reference/data-types/array.md
Co-authored-by: flynn <fenglv97@gmail.com>
2024-03-07 17:17:47 +08:00
Kseniia Sumarokova
de7f7e196e
Update docs/en/sql-reference/statements/grant.md 2024-03-07 13:55:22 +08:00
jsc0218
c901c9c1f3 fix typo 2024-03-07 01:47:10 +00:00
jsc0218
0f4cd3198d add version specification 2024-03-07 01:09:18 +00:00
Shaun Struwig
06a7665d0e
Update encoding-functions.md
Add missing "Result:" after query
2024-03-06 18:19:52 +01:00
János Benjamin Antal
bdb76d9dd4 Fix aspell errors 2024-03-06 16:30:22 +00:00
Mark Needham
d0e887f834
Update index.md 2024-03-06 15:02:18 +00:00
Raúl Marín
314e27a06e Fix groupArraySorted documentation 2024-03-06 12:52:03 +00:00
Robert Schulze
7a60a5c7ab
Merge pull request #60642 from rschu1ze/docs-58023
Docs: Follow-up to #58023
2024-03-06 11:40:39 +01:00
Robert Schulze
06c2492b92
Clarify subtle detail in docs 2024-03-06 09:29:42 +00:00
Robert Schulze
1c10b96361
Merge remote-tracking branch 'rschu1ze/master' into revert-revert-54746_to_millisecond_function 2024-03-06 09:04:57 +00:00
Antonio Andelic
e0fa26ece3
Merge pull request #60806 from Brokenice0415/add-leadership-expiry-setting
Support `leadership_expiry_ms` in  Keeper's settings
2024-03-06 09:05:50 +01:00
Shaun Struwig
68a3ca37c4
Add examples using columns 2024-03-06 06:42:01 +01:00
Alex Cheng
f3a700b976
Merge branch 'ClickHouse:master' into master 2024-03-06 10:59:53 +08:00
jsc0218
cd2a418afd add named collection grant doc 2024-03-06 02:31:21 +00: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
robot-clickhouse
23ec4d4c6e Update version_date.tsv and changelogs after v23.3.20.27-lts 2024-03-05 11:53:19 +00:00
Mikhail f. Shiryaev
bc48b296c8
Merge pull request #60851 from ClickHouse/auto/v23.8.10.43-lts
Update version_date.tsv and changelogs after v23.8.10.43-lts
2024-03-05 12:36:25 +01:00
robot-clickhouse
edf2dc9168 Update version_date.tsv and changelogs after v23.8.10.43-lts 2024-03-05 10:20:57 +00: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
Brokenice0415
cc1c3f2da3 add a keeper setting leadership_expiry 2024-03-05 00:54:25 +08: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
Alexey Milovidov
aeb5b9e921
Merge pull request #60607 from ClickHouse/auto/v24.2.1.2248-stable
Update version_date.tsv and changelogs after v24.2.1.2248-stable
2024-03-04 01:50:00 +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
robot-clickhouse
c1d542d700 Update version_date.tsv and changelogs after v24.2.1.2248-stable 2024-02-29 21:19:40 +00: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
Alex Cheng
6ea5fabac5
Update settings.md 2024-02-29 17:39:07 +08:00
Alex Cheng
ea9ef507fc
Update nullable.md by adding #finding-null 2024-02-29 17:29:37 +08:00
Alex Cheng
7116dd7dca
Update array.md by adding Array Size part 2024-02-29 17:22:25 +08:00
Alex Cheng
9b3a0273c7
Update settings.md by adding some missing settings. 2024-02-29 17:11:08 +08: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
Alexey Milovidov
b116bcadd1
Merge pull request #60472 from ClickHouse/fix-bad-test-8
Make test slower
2024-02-28 19:20:14 +03: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
Alexey Milovidov
71065cc462 Make test slower 2024-02-28 01:46:25 +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