Commit Graph

16731 Commits

Author SHA1 Message Date
Han Fei
73deb9a24c fix a race in refreshable view 2024-03-26 14:20:54 +01:00
alesapin
d4063e378e
Merge pull request #61554 from ClickHouse/fix_wait_for_mutation_done
Wait for done mutation with more logs and asserts
2024-03-25 14:27:34 +01:00
Yarik Briukhovetskyi
20a45b4073
Merge pull request #61564 from liuneng1994/optimize_in_single_value
New analyzer pass to optimize in single value
2024-03-25 12:53:01 +01:00
Alexey Milovidov
8c6a6f2b71
Merge pull request #61832 from azat/dist/flush-settings
Add ability to override initial INSERT SETTINGS via SYSTEM FLUSH DISTRIBUTED
2024-03-25 03:09:01 +03:00
Azat Khuzhin
35722be8ec Add ability to override initial INSERT SETTINGS via SYSTEM FLUSH DISTRIBUTED
This is useful to overwrite settings in the initial query during force
flush with SYSTEM FLUSH DISTRIBUTED.

For example imagine that your server is out of queries
(max_max_concurrent_queries_for_all_users had been reached), but you
want to flush the distributed table anyway, after this patch you can
use something like this:

    SYSTEM FLUSH DISTRIBUTED dist SETTINGS max_concurrent_queries_for_all_users=1000000

And also fix flush_on_detach for SYSTEM FLUSH DISTRIBUTED, it should
ignore flush_on_detach.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-03-24 21:32:34 +01:00
Alexey Milovidov
9210712f4f
Merge pull request #60112 from Unalian/feat-59377
[feature]: allow to attach parts from a different disk
2024-03-24 23:12:43 +03:00
Alexey Milovidov
717603802d
Merge pull request #61785 from danipozo/azure-use-managed-identity-for-backups
Use managed identity for backups IO in Azure Blob Storage
2024-03-24 20:31:12 +03:00
Alexey Milovidov
8ddfe9a48b
Merge pull request #61665 from ClickHouse/build-improvements-magic-enum-template-instantiation
Build improvements by removing magic enum from header and apply some explicit template instantiation
2024-03-24 19:31:46 +03:00
Alexey Milovidov
93beef8bb5
Merge pull request #61399 from azat/order-by-SimpleAggregateFunction
Forbid SimpleAggregateFunction in ORDER BY of MergeTree tables
2024-03-24 19:31:18 +03:00
alesapin
49f007af60 Merge remote-tracking branch 'origin/master' into fix_wait_for_mutation_done 2024-03-24 13:54:39 +01:00
Alexey Milovidov
8936528372 Merge branch 'master' into order-by-SimpleAggregateFunction 2024-03-24 02:16:57 +01:00
Alexey Milovidov
aeefba57b5
Update StorageAzureBlob.cpp 2024-03-23 22:49:23 +03:00
Alexey Milovidov
13b4a2838c
Update StorageReplicatedMergeTree.cpp 2024-03-23 21:26:23 +03:00
Alexey Milovidov
25201919a5 Fix errors 2024-03-23 19:23:01 +01:00
Alexey Milovidov
a5dc6241bb
Update StorageMaterializedView.cpp 2024-03-23 21:10:42 +03:00
Alexey Milovidov
7c189ee94a
Merge branch 'master' into add-materialized-view-query-check 2024-03-23 21:07:58 +03:00
Alexey Milovidov
056c8ce021
Merge pull request #59965 from nickitat/express_support
S3Express support
2024-03-23 20:52:44 +03:00
Alexey Milovidov
a56c113c83 Fix for clang-19 2024-03-22 22:12:59 +01:00
Dani Pozo
2736b4ef64 Use managed identity for backups IO in Azure Blob Storage
Also adds option to prevent ClickHouse from trying to create a non-existing container, which requires
a role assignment at the storage account level.
2024-03-22 17:58:07 +01:00
Alexander Tokmakov
9082a018a5
Merge pull request #59082 from ClickHouse/fix_race_async_inserts_queue
Fix race on `Context::async_insert_queue`
2024-03-22 16:06:13 +01:00
János Benjamin Antal
8c49c9bf9e
Revert "Fix bug when reading system.parts using UUID (issue 61220)." (#61774) 2024-03-22 15:20:01 +01:00
Alexey Milovidov
037c910c35
Merge pull request #61535 from CurtizJ/refactor-compact-parts-reading
Refactoring of reading from compact parts
2024-03-22 16:33:59 +03:00
Nikolai Kochetov
3ed30959fa
Merge pull request #61666 from ClickHouse/fix-not-ready-set-system-parts
Fix Non-ready set for system.parts.
2024-03-22 11:49:26 +01:00
robot-ch-test-poll
03a4b5fb58
Merge pull request #61053 from ClickHouse/async-loader-waiters-limit
Separate limits on number of waiting and executing queries
2024-03-22 03:15:25 +01:00
Alexey Milovidov
96a45fc9ec
Merge pull request #61119 from ilejn/update_cppkafka
update cppkafka to v0.4.1
2024-03-22 01:19:42 +03:00
Alexey Milovidov
12e35ad1ff
Merge pull request #61616 from nickitat/02908_many_requests_again
Try to fix `02908_many_requests_to_system_replicas` again
2024-03-22 01:15:50 +03:00
Kseniia Sumarokova
0c824dab17
Merge pull request #60585 from aalexfvk/traverse_shadow_remote_data_paths
Traverse shadow directory for system.remote_data_paths
2024-03-21 19:02:36 +01:00
Vitaly Baranov
1acc0ebe79
Merge pull request #61356 from vitlibar/fix-replace-dictionary
Fix CREATE OR REPLACE DICTIONARY
2024-03-21 16:45:06 +01:00
divanik
9dbe7beef8
Merge pull request #59390 from divanik/divanik/generate_series_function
Add step to the generating numbers table functions
2024-03-21 16:27:25 +01:00
Dmitry Novik
e4209218d4
Merge pull request #60497 from ClickHouse/analyzer-distr-json
Analyzer: Support different ObjectJSON on shards
2024-03-21 16:25:30 +01:00
János Benjamin Antal
1944162088
Merge pull request #61479 from wudanzy/61220_fix_read_system_parts
Fix bug when reading system.parts using UUID (issue 61220).
2024-03-21 14:43:29 +01:00
Nikolai Kochetov
e828acd0e5 Review fixes. 2024-03-21 13:17:15 +00:00
Sergei Trifonov
816a6b81c4
Merge pull request #61545 from wiledusc/fix-typo-legacy-max-level
Fix typo in variable name use_leagcy_max_level
2024-03-21 12:31:00 +01:00
divanik
cc7a4182e3 Merge branch 'master' of github.com:ClickHouse/ClickHouse into divanik/generate_series_function 2024-03-21 11:27:48 +00:00
Antonio Andelic
c4856e326b
Merge pull request #60225 from azat/dist/parallel-flush
Parallel flush of pending INSERT blocks of Distributed engine
2024-03-21 12:25:59 +01:00
serxa
c31b958f88 Merge branch 'master' into async-loader-waiters-limit 2024-03-21 10:58:22 +00:00
unashi
adc964568c [update] Merge the on same disk and on another disk scenarios into cloneAndLoadDataPart; remove the try catch; instead of obtaining the copied destination hard disk through traversal, the destination hard disk is obtained through reservation. 2024-03-21 15:44:27 +08:00
liuneng
ada4384deb fix ut failed 2024-03-21 10:38:51 +08:00
Alexey Milovidov
97b7daef84
Merge pull request #61604 from Algunenano/nested_includes
Reduce header dependencies
2024-03-21 02:02:17 +03:00
János Benjamin Antal
0b54b34b5b Avoid instantiation of CacheBase's ctor in header file 2024-03-20 17:00:36 +00:00
János Benjamin Antal
9e8c731e1e Remove some inclusion of magic enum 2024-03-20 17:00:36 +00:00
Nikolai Kochetov
a7ff6d63c3 Fix Non-ready set for system.parts. 2024-03-20 16:48:24 +00:00
Raúl Marín
e6256fa380 Fix build 2024-03-20 15:43:09 +01:00
alesapin
a6051f8038
Merge pull request #61620 from ClickHouse/fix-part-log-with-async-with-dedup
Fix `system.part_log` for async insert with deduplication
2024-03-20 15:36:21 +01:00
divanik
52b2220dc2 Resolved issues 2024-03-20 13:20:39 +00:00
Nikita Taranov
22f6bb3645
Merge branch 'master' into debug_info 2024-03-20 14:11:34 +01:00
Raúl Marín
c98634ad8c Merge remote-tracking branch 'blessed/master' into nested_includes 2024-03-20 14:08:10 +01:00
Raúl Marín
c380de864a
Merge pull request #61606 from Algunenano/magic_trash
Remove some magic_enum from headers
2024-03-20 14:03:11 +01:00
William Schoeffel
34e3eb223e
Merge branch 'ClickHouse:master' into fix-typo-legacy-max-level 2024-03-20 09:45:37 -03:00
divanik
8ec2dd31c7 Merge branch 'master' of github.com:ClickHouse/ClickHouse into divanik/generate_series_function 2024-03-20 10:54:51 +00:00