Commit Graph

12955 Commits

Author SHA1 Message Date
vdimir
8b2c719aa6
Do not build multithread insert pipeline for tables without support 2024-04-05 12:57:02 +00:00
Kruglov Pavel
3116650fa9
Merge pull request #61201 from ClickHouse/revert-61200-revert-60430-max-parallel-replicas-validate
Don't allow to set max_parallel_replicas to 0 as it doesn't make sense
2024-04-03 17:05:59 +02:00
Anton Popov
ec22d64fc8
Merge pull request #62195 from CurtizJ/lightweight-deletes-setting
Add setting `lightweight_deletes_sync`
2024-04-03 14:34:51 +02:00
Kruglov Pavel
21abaa14e7
Merge pull request #61951 from Avogar/fix-exception-in-format
Fix writing exception message in output format in HTTP when http_wait_end_of_query is used
2024-04-03 13:44:30 +02:00
Raúl Marín
3b877c3624
Merge pull request #62230 from ClickHouse/revert-62050-vdimir/dictioary_reload_twice_on_start2
Revert "Resubmit 'Update invalidate_query_response on dictionary startup'"
2024-04-03 12:36:52 +02:00
Raúl Marín
772bd84433
Merge pull request #62170 from Algunenano/nested_includes_N
Remove a few nested include dependencies
2024-04-03 12:19:25 +02:00
Raúl Marín
0d3d7b3146
Revert "Resubmit 'Update invalidate_query_response on dictionary startup'" 2024-04-03 12:12:31 +02:00
Raúl Marín
44cea8b171
Merge pull request #62159 from Algunenano/private_planner
Unify lightweight mutation control
2024-04-03 11:51:14 +02:00
Anton Popov
ed448eae42 add setting lightweight_deletes_sync 2024-04-02 18:40:46 +00:00
vdimir
e037e68130
Merge pull request #62050 from ClickHouse/vdimir/dictioary_reload_twice_on_start2
Resubmit 'Update invalidate_query_response on dictionary startup'
2024-04-02 17:37:45 +02:00
Raúl Marín
c35a436435 Remove nested dependency on DateLutImpl 2024-04-02 14:45:48 +02:00
Raúl Marín
40a22ffa63 Remove a few nested include dependencies 2024-04-02 13:43:14 +02:00
Raúl Marín
48ab0721a8 Unify lightweight mutation control 2024-04-02 11:52:14 +02:00
Han Fei
89108202d5
Merge pull request #58705 from zhongyuankai/drop_tables
Supports DROP multiple tables
2024-04-01 22:43:55 +02:00
Nikolai Kochetov
686534a460
Merge pull request #61992 from kitaisreal/aggregator-parallel-merge-cancellation
Aggregator parallel merge cancellation
2024-03-29 19:25:38 +01:00
zhongyuankai
79b486b8bf batter 2024-03-29 09:53:50 +08:00
Han Fei
419ac380f1
Merge pull request #61953 from hanfei1991/hanfei/fix-quorum-retry
fix logical-error when undoing quorum insert transaction
2024-03-28 20:49:32 +01:00
vdimir
0b85d8570b
Resubmit 'Update invalidate_query_response on dictionary startup' 2024-03-28 16:46:44 +01:00
Kruglov Pavel
70bb85a754
Merge pull request #61999 from Avogar/variant-number-bool
Don't treat Bool and number variants as suspicious in Variant type
2024-03-28 14:33:24 +01:00
Kseniia Sumarokova
0244e0851a
Merge pull request #61954 from ClickHouse/follow-up-broken-projections
Follow up to #60452
2024-03-28 14:23:28 +01:00
Han Fei
a0d27e45b9
Merge branch 'master' into drop_tables 2024-03-28 13:56:50 +01:00
Yarik Briukhovetskyi
003d258ba1
Merge pull request #61862 from HowePa/truncate_all_tables
add TRUNCATE ALL TABLES
2024-03-28 13:32:46 +01:00
Kseniia Sumarokova
5ba2ad53b6
Merge pull request #61163 from ClickHouse/filecache-better-try-reserve
Less contention in cache, part 3
2024-03-28 13:24:22 +01:00
Maksim Kita
a376a7354f Fixed code review issues 2024-03-28 15:04:14 +03:00
zhongyuankai
7938a8e62b Merge branch 'master' into drop_tables 2024-03-28 20:00:56 +08:00
Alexander Tokmakov
a0b9b888ee
Merge pull request #61799 from ClickHouse/more_secondary_create
Skip more sanity checks for secondary create queries
2024-03-28 10:01:05 +01:00
avogar
043c625898 Don't treat Bool and number variants as suspicious 2024-03-27 19:19:08 +00:00
Han Fei
e849c48e21 add a test 2024-03-27 18:56:13 +01:00
Maksim Kita
d8b06588b8 Aggregator parallel merge cancellation 2024-03-27 20:14:52 +03:00
Igor Nikonov
15a0f5381f
Merge pull request #59176 from azat/dist/readonly-replicas
Add ability to skip read-only replicas for INSERT into Distributed engine
2024-03-27 13:19:12 +01:00
Yarik Briukhovetskyi
844bb4f06c
Merge pull request #61727 from yariks5s/fix_undrop_query
Revert "Revert "Un-flake test_undrop_query""
2024-03-27 13:12:50 +01:00
Kseniia Sumarokova
af66e1f7c4
Fix style check 2024-03-27 11:25:58 +01:00
kssenii
0a5ce69880 Review fix 2024-03-26 22:02:50 +01:00
kssenii
dc83eb1ad6 Review fixes 2024-03-26 21:43:54 +01:00
kssenii
a777045dd3 Fix and more tests for broken projections handling 2024-03-26 18:47:48 +01:00
shabroo
8e8bc83d36
Update Context.cpp
@alexey-milovidov please stop torturing me and accept this commit.
2024-03-26 17:37:27 +01:00
Yarik Briukhovetskyi
d8bfdf040f
has_all -> has_all_tables 2024-03-26 16:58:36 +01:00
Azat Khuzhin
b9469e2729 Do not try to INSERT into readonly replicas for Distributed engine
Sometimes replica may be readonly for a long time, and this will make
some INSERT queries fail, but it does not make sense to INSERT into
readonly replica, so let's ignore them.

But note, that this will require to extend TableStatus (not extend, but
introduce new version), that will have is_readonly field.

Also before background INSERT into Distributed does not uses
getManyChecked() which means that they do not request TableStatus
packet, while now they would, though this is minor (just a note).

v2: Add a note about max_replica_delay_for_distributed_queries for INSERT
v3: Skip read-only replicas for async INSERT into Distributed
v4: Remove extra @insert parameter for ConnectionPool*::get*
    It make sense only when the table name had passed --
    ConnectionPoolWithFailover::getManyChecked()
v5: rebase on top LoggerPtr
v6: rebase
v7: rebase
v8: move TryResult::is_readonly into the end

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-03-26 11:21:38 +01:00
vdimir
802d6a2dac
Merge pull request #59007 from ClickHouse/vdimir/using_alias_followup
Analyzer: fixes for JOIN columns resolution
2024-03-26 10:36:50 +01:00
Kseniia Sumarokova
fd8e34a0ba
Merge pull request #60452 from ClickHouse/revert-refert-of-broken-projections-handling
Revert "Revert "Merge pull request #56864 from ClickHouse/broken-projections-better-handling""
2024-03-26 10:34:48 +01:00
Alexey Milovidov
9b052d059d No "please" 2024-03-26 09:00:20 +01:00
zhongyuankai
aa3830a3db Merge branch 'master' into drop_tables 2024-03-26 14:09:04 +08:00
zhongyuankai
8af5682395 batter 2024-03-26 13:02:12 +08:00
pufit
cad66f3e68
Fix ALTER QUERY MODIFY SQL SECURITY (#61480) 2024-03-25 20:03:02 -04:00
kssenii
5100b0d52e Fix typo 2024-03-25 17:04:44 +01:00
Alexey Milovidov
dc6d713658
Merge pull request #60774 from canhld94/zookeeper_log_us
Change column name from duration_ms to duration_us in system.zookeeper
2024-03-25 18:07:58 +03:00
Alexey Milovidov
24261476c4
Merge pull request #61820 from ClickHouse/get-client-http-header
Add a new function `getClientHTTPHeader`
2024-03-25 17:48:24 +03:00
kssenii
e3d2fb28cf Merge remote-tracking branch 'origin/master' into revert-refert-of-broken-projections-handling 2024-03-25 13:54:39 +01:00
Sergei Trifonov
10c6152aac
Merge pull request #61546 from ClickHouse/more-log-for-async-loader
More logging for loading of tables
2024-03-25 13:12:45 +01:00
Yarik Briukhovetskyi
8bdbfce43c
Merge branch 'master' into fix_undrop_query 2024-03-25 13:06:46 +01:00