Commit Graph

112344 Commits

Author SHA1 Message Date
Antonio Andelic
2fd207955c
Merge pull request #48532 from ClickHouse/fix-topk-ubsan
Avoid sending `nullptr` to `memcpy` in `copyStringInArena`
2023-04-07 20:06:21 +02:00
Antonio Andelic
55a999d6a3
Merge branch 'master' into fix-topk-ubsan 2023-04-07 20:05:36 +02:00
Antonio Andelic
6a23c7028a
Merge pull request #48533 from ClickHouse/less-flaky-test-test_alternative_keeper_config
Fix flaky `test_alternative_keeper_config`
2023-04-07 20:04:53 +02:00
lzydmxy
d0a37f8798 fix test test_multiple_disks 2023-04-08 01:44:43 +08:00
Alexey Milovidov
e09e80b493
Merge pull request #48500 from CurtizJ/fix-sparse-column-query-cache
Fix query cache with sparse columns
2023-04-07 19:34:10 +03:00
Sergei Trifonov
396f6a6421
Update src/Storages/StorageReplicatedMergeTree.cpp
Co-authored-by: Alexander Tokmakov <tavplubix@clickhouse.com>
2023-04-07 17:07:36 +02:00
Azat Khuzhin
44ae8485f1 Use one ThreadGroup while pushing to materialized views
Before this patch only the case when ThreadStatus (current_thread)
already has ThreadGroup works that way, after they will be identical in
this aspect.

But this should not affect anything, but it just make sense.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-04-07 15:37:35 +02:00
Azat Khuzhin
aacf2a0838 Move ThreadGroupSwitcher to ThreadStatus.h (out from MergeTree code)
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-04-07 15:32:08 +02:00
Azat Khuzhin
5b2b20a0b0 Rename ThreadGroupStatus to ThreadGroup
There are methods like getThreadGroup() and ThreadGroupSwitcher class,
so seems that this is logical.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-04-07 15:31:48 +02:00
Sema Checherinda
0503ed6fb8
Merge pull request #46668 from azat/fix-query_views_log-from-bg
Fix system.query_views_log for MVs that are pushed from background threads
2023-04-07 14:47:05 +02:00
Igor Nikonov
78038a3c2c Fix: do not resize pipeline when there is no files to process (globs expands to empty set) 2023-04-07 11:34:04 +00:00
Igor Nikonov
bea9468285 Fix 01548_parallel_parsing_max_memory.sh 2023-04-07 10:47:52 +00:00
Nikolay Degterinsky
a48655af39
Merge branch 'master' into add-kafka-murmur-hash-function 2023-04-07 12:21:16 +02:00
Nikolay Degterinsky
715ef4da6e
Merge pull request #48440 from evillique/user-password-precedence
Override user and password environment variables with client parameters
2023-04-07 12:19:56 +02:00
robot-ch-test-poll2
d13e8f8ddb
Merge pull request #48518 from ClibMouse/feature/remove-dead-code
Remove dead code and unused dependencies
2023-04-07 12:07:33 +02:00
alesapin
a0dd1c96bf
Merge pull request #48512 from ClickHouse/serxa-patch-3
Fix bytesSize() of zk SetRequest
2023-04-07 11:47:31 +02:00
Kseniia Sumarokova
d5889a47d6
Merge pull request #48311 from kssenii/rabbitmq-fix-cpu-usage
Fix cpu usage in rabbitmq (was worsened in 23.2 after #44404)
2023-04-07 11:44:48 +02:00
Azat Khuzhin
011480924a Use forward declaration of ThreadPool
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-04-07 11:25:35 +02:00
Antonio Andelic
67e6335250 Fix nullptr to memcpy 2023-04-07 08:32:01 +00:00
Antonio Andelic
36eabc57d2 Sync replicas after inserts 2023-04-07 07:49:19 +00:00
Igor Nikonov
f3e3117d24 Fix test 2023-04-07 07:41:05 +00:00
Sergei Trifonov
f0de79b21a
Merge branch 'master' into lost-part-count 2023-04-07 01:50:41 +02:00
serxa
2d07704243 fix zk tests 2023-04-06 23:50:23 +00:00
Yakov Olkhovskiy
8d1924cc9a
Merge pull request #47962 from ClickHouse/imp-use-structure-from-insertion
Improvement and fix for use_structure_from_insertion_table_in_table_functions
2023-04-06 19:01:00 -04:00
serxa
9976f17e12 add docs 2023-04-06 22:54:00 +00:00
serxa
343a071798 add lost_part_count column to system.replicas 2023-04-06 22:38:58 +00:00
Igor Nikonov
96213fa464 Fix header 2023-04-06 22:17:09 +00:00
Igor Nikonov
2e139c21d2 Parallel reading in FROM file() 2023-04-06 21:57:03 +00:00
robot-clickhouse-ci-2
2cb8252676
Merge pull request #48487 from azat/memory-tracker-fix-deadlock
Fix deadlock due to debug tracking of memory allocations
2023-04-06 23:50:44 +02:00
Alexey Milovidov
2e1ab677c3
Merge pull request #48524 from justindeguzman/patch-4
Change ClickHouse logo to dark mode
2023-04-07 00:48:56 +03:00
Justin de Guzman
09e8a321fc
Change ClickHouse logo to dark mode 2023-04-06 14:44:29 -07:00
Alexey Milovidov
7f5bab23e5
Merge pull request #48523 from justindeguzman/patch-2
Update ClickHouse logo
2023-04-06 23:31:54 +03:00
ltrk2
4449e49e72 Mark a function inline 2023-04-06 13:28:30 -07:00
Justin de Guzman
b347464496
Update ClickHouse logo 2023-04-06 13:01:34 -07:00
Nikolai Kochetov
57255eb56c Fix equals. 2023-04-06 19:22:10 +00:00
Nikolai Kochetov
e8fb135180 Reduce memory usage for multiple alter delete mutations. 2023-04-06 19:07:53 +00:00
ltrk2
790e570af6 Use std::string::starts_with instead of a roll your own variant 2023-04-06 11:57:44 -07:00
ltrk2
00c8e6e60d Use std::string_view instead of strlen 2023-04-06 11:39:33 -07:00
ltrk2
4544abc7d6 Remove dead code and unused dependencies 2023-04-06 11:37:12 -07:00
Yakov Olkhovskiy
5841c415a7
Merge pull request #48407 from ClibMouse/krb5_openssl
Fix issue with krb5 and building w/ OpenSSL
2023-04-06 14:15:02 -04:00
robot-ch-test-poll1
d0bb02dea5
Merge pull request #48432 from DanRoscigno/docs-undrop
add docs for UNDROP TABLE
2023-04-06 19:24:00 +02:00
Sergei Trifonov
b6975d36e9
Fix bytesSize() of zk SetRequest 2023-04-06 19:05:32 +02:00
DanRoscigno
cbda8762b2 add note about MV 2023-04-06 12:18:09 -04:00
Sema Checherinda
9d8d9e8ec9
Merge branch 'master' into fix-query_views_log-from-bg 2023-04-06 18:16:47 +02:00
Dan Roscigno
66af848f82
Update docs/en/sql-reference/statements/undrop.md 2023-04-06 12:09:34 -04:00
Dan Roscigno
28f86e7b84
Update docs/en/sql-reference/statements/undrop.md
Co-authored-by: Alexander Tokmakov <tavplubix@gmail.com>
2023-04-06 12:07:53 -04:00
Dan Roscigno
fae4906e11
Update docs/en/sql-reference/statements/undrop.md
Co-authored-by: Alexander Tokmakov <tavplubix@gmail.com>
2023-04-06 12:07:00 -04:00
Alexander Tokmakov
27756b5971
Merge pull request #48499 from ClickHouse/tavplubix-patch-6
Update 00002_log_and_exception_messages_formatting.sql
2023-04-06 19:06:15 +03:00
Anton Popov
4757d76fbf fix query cache with sparse columns 2023-04-06 16:01:23 +00:00
Alexander Tokmakov
8e1d9939f7
Update 00002_log_and_exception_messages_formatting.reference 2023-04-06 18:56:10 +03:00