Commit Graph

17243 Commits

Author SHA1 Message Date
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
Alexey Milovidov
da452c7947
Merge pull request #59799 from ClickHouse/auto/v24.1.3.31-stable
Update version_date.tsv and changelogs after v24.1.3.31-stable
2024-02-11 23:41:17 +01:00
Alexey Milovidov
a65b9cc1f8
Merge pull request #59800 from ClickHouse/auto/v23.12.4.15-stable
Update version_date.tsv and changelogs after v23.12.4.15-stable
2024-02-11 23:41:09 +01: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
e99c359fba
Merge pull request #59782 from Blargian/broken_link_in_documentation
Fix broken youtube embedding in ne-tormozit.md
2024-02-09 23:29:44 +01: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
Vitaly Baranov
09e727d48b
Merge pull request #56988 from ClickHouse/Azure_backup
Backup & Restore support for AzureBlobStorage
2024-02-09 14:45:35 +01:00
robot-clickhouse
582abd40fd Update version_date.tsv and changelogs after v23.12.4.15-stable 2024-02-09 12:25:38 +00:00
robot-clickhouse
54b7fdb832 Update version_date.tsv and changelogs after v24.1.3.31-stable 2024-02-09 12:24:33 +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
Alexey Milovidov
a34d6c9170
Merge pull request #59765 from AlexeyGrezz/patch-1
Update grants.md
2024-02-09 04:03:04 +01: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
Shaun Struwig
dbc288cd51
Update ne-tormozit.md
Fix broken youtube video embedding
2024-02-08 23:13:44 +01:00
Robert Schulze
cf0378ea76
add docs 2024-02-08 16:17:25 +00:00
AlexeyGrezz
b8dcc233fd
Update grants.md 2024-02-08 16:32:50 +03: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
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
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
Mikhail f. Shiryaev
d30e65f0e0
Merge pull request #59515 from ClickHouse/auto/v23.11.5.29-stable
Update version_date.tsv and changelogs after v23.11.5.29-stable
2024-02-02 14:01:24 +01:00
robot-clickhouse
67ac92e1a1 Update version_date.tsv and changelogs after v23.11.5.29-stable 2024-02-02 12:55:17 +00:00
robot-clickhouse
ae6618e0b3 Update version_date.tsv and changelogs after v23.12.3.40-stable 2024-02-02 11:57:38 +00:00
robot-clickhouse
e7f63abc2f Update version_date.tsv and changelogs after v24.1.2.5-stable 2024-02-02 11:41:46 +00: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
Alexey Milovidov
797ff834e0
Merge pull request #59397 from ClickHouse/auto/v24.1.1.2048-stable
Update version_date.tsv and changelogs after v24.1.1.2048-stable
2024-01-30 20:31:25 +01:00
robot-clickhouse
ef6c90c71b Update version_date.tsv and changelogs after v24.1.1.2048-stable 2024-01-30 18:01:46 +00: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
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
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
Arthur Passos
e6b17377d0
Merge branch 'master' into bring_back_attach_partition_pr 2024-01-23 14:52:47 -03: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
Yakov Olkhovskiy
5d78cf1a38
ipv6 bloom filter indexes incompatibility 2024-01-23 10:31:32 -05: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
robot-clickhouse-ci-1
be3e612f79
Merge pull request #58892 from Waterkin/doc-revise
Translate Eng docs to Chinese.
2024-01-22 00:58:07 +01:00
Han Fei
2c107e1925
Update docs/zh/faq/operations/delete-old-data.md 2024-01-22 00:29:06 +01:00
Han Fei
baf42d777f
Update docs/zh/faq/operations/delete-old-data.md 2024-01-22 00:29:01 +01:00
Han Fei
4938bf89de
Update docs/zh/faq/operations/delete-old-data.md 2024-01-22 00:28:55 +01:00
Han Fei
1244818350
Update docs/zh/faq/operations/delete-old-data.md 2024-01-22 00:28:47 +01:00
Han Fei
edccae1d62
Update docs/zh/faq/operations/delete-old-data.md 2024-01-22 00:28:40 +01:00
Han Fei
861e050963
Update docs/zh/faq/operations/delete-old-data.md 2024-01-22 00:28:33 +01:00
Han Fei
db93b72dcc
Update docs/zh/faq/operations/delete-old-data.md 2024-01-22 00:28:27 +01:00
Han Fei
30c6e1f151
Update docs/zh/faq/operations/delete-old-data.md 2024-01-22 00:28:20 +01:00