Commit Graph

13431 Commits

Author SHA1 Message Date
Robert Schulze
c7cb33d035
Better parsing 2024-04-09 15:43:08 +00:00
kssenii
ef0231e781 Merge remote-tracking branch 'origin/master' into less-contentaion-in-cache-part4 2024-04-09 17:28:49 +02:00
Robert Schulze
22e164c65d
Merge pull request #62375 from rschu1ze/static-instance2
Don't access static members through instance, pt. II
2024-04-09 14:37:24 +00:00
Kseniia Sumarokova
ebf4f79a34
Merge pull request #61723 from ClickHouse/better-dynamic-cache-resize-part-2
Speed up dynamic resize of filesystem cache
2024-04-09 13:54:07 +00:00
Robert Schulze
4035334634
Merge remote-tracking branch 'rschu1ze/master' into static-instance2 2024-04-09 11:45:27 +00:00
Alexey Milovidov
ce4ab06d03
Merge pull request #62382 from ClickHouse/remove-insert-watch
Remove support for INSERT WATCH query
2024-04-08 16:58:27 +00:00
avogar
71666cb42f Merge branch 'master' of github.com:ClickHouse/ClickHouse into better-stress-upgrade-checks 2024-04-08 13:58:14 +00:00
kssenii
44d3612d77 Review suggestion 2024-04-08 15:52:38 +02:00
kssenii
80c494a900 Fxi 2024-04-08 15:23:41 +02:00
kssenii
259d50c57b Add more comments 2024-04-08 14:36:07 +02:00
divanik
1e8105fa7b
Merge pull request #62320 from seandhaynes/shaynes/dictionary-source-type
Fix small typo in Dictionary source loader
2024-04-08 14:13:06 +02:00
Sergei Trifonov
8349bdd006
Merge pull request #61534 from ClickHouse/fix-db-iterator-waits
Fix db iterator wait during async metrics collection
2024-04-08 12:10:50 +02:00
Pablo Marcos
04f819a124 Merge branch 'master' into pamarcos/copy_comment_in_create_as_statement 2024-04-08 08:10:43 +02:00
Alexey Milovidov
f5e9a09d69 Remove support for INSERT WATCH query 2024-04-08 05:37:09 +02:00
Alexey Milovidov
53a3ad609a Fix trash in documentation 2024-04-07 21:32:40 +02:00
Robert Schulze
7dacd8aa84
Incorporate review feedback 2024-04-07 14:46:55 +00:00
Robert Schulze
12813be9b8
Ignore queries involving system tables by query cache
Fixes #59071
2024-04-07 11:24:32 +00:00
Robert Schulze
97281203b8
Don't access static members through instance, pt. II
clang-tidy rightfully complains
(-readability-static-accessed-through-instance) that static member
functions are accessed through non-static members
2024-04-07 11:09:35 +00:00
Pablo Marcos
c427092b2a Merge branch 'master' into pamarcos/copy_comment_in_create_as_statement 2024-04-07 12:40:17 +02:00
zhongyuankai
832c7087a7 optimize drop tables 2024-04-06 19:59:45 +08:00
alesapin
22caa3eb73 Merge remote-tracking branch 'origin/master' into try_global_trace_collector 2024-04-06 11:21:27 +02:00
kssenii
eb9690016a Fix assertion 2024-04-05 18:37:46 +02:00
Raúl Marín
7df11b1852
Merge pull request #62264 from Algunenano/nested_includes_Ñ
Remove more nested includes
2024-04-05 17:00:28 +02:00
kssenii
357e5e3ae6 Merge remote-tracking branch 'origin/master' into use-iobject-storage-for-table-engines-1 2024-04-05 16:15:56 +02:00
Kruglov Pavel
589034c34c
Merge branch 'master' into better-stress-upgrade-checks 2024-04-05 15:27:02 +02:00
Kruglov Pavel
bdda4e31fb
Merge pull request #62305 from Avogar/fix-scalar-data-race
Fix data race on scalars in Context
2024-04-05 15:24:26 +02:00
vdimir
8b2c719aa6
Do not build multithread insert pipeline for tables without support 2024-04-05 12:57:02 +00:00
kssenii
1cd73b907c Better 2024-04-05 12:59:57 +02:00
kssenii
6428868843 Fix build 2024-04-05 12:42:03 +02:00
alesapin
e514a8b49d Merge remote-tracking branch 'origin/master' into try_global_trace_collector 2024-04-05 12:40:25 +02:00
Sean Haynes
500c3fe0fc Fix small typo in Dictionary source loader 2024-04-05 10:39:42 +00:00
vdimir
723bcc4ee5
Merge pull request #62225 from ClickHouse/vdimir/fix_index_definition_sql_udf
Fix crash in index definition containing sql udf
2024-04-05 12:02:11 +02:00
kssenii
4ae1acdeb9 Merge remote-tracking branch 'origin/master' into better-dynamic-cache-resize-part-2 2024-04-05 12:00:07 +02:00
Kruglov Pavel
c3aa932367
Uncommonly header 2024-04-05 11:39:28 +02:00
avogar
0be983ee22 Fix test 2024-04-05 09:16:00 +00:00
Pablo Marcos
6b3e92f2d0 Merge branch 'master' into pamarcos/copy_comment_in_create_as_statement 2024-04-05 08:41:54 +02:00
Alexander Tokmakov
5db9fbed52 cancel tasks on exception 2024-04-04 22:32:57 +02:00
avogar
7329b9509a Fix header 2024-04-04 20:01:05 +00:00
avogar
0f5a3eae7e Better 2024-04-04 20:00:22 +00:00
avogar
3e1e434833 Fix data race on scalars in Context 2024-04-04 19:52:40 +00:00
kssenii
eede7c3acf Try fix stress test 2024-04-04 19:01:31 +02:00
Nikolai Kochetov
300904dc83
Merge pull request #60997 from kitaisreal/context-get-global-temporary-volume-use-shared-lock
Context getGlobalTemporaryVolume use shared lock
2024-04-04 18:30:20 +02:00
kssenii
c93510b7cf Merge remote-tracking branch 'origin/master' into less-contentaion-in-cache-part4 2024-04-04 17:47:22 +02:00
Robert Schulze
7ce2a47ba5
Merge pull request #62265 from rschu1ze/static-instance
Don't access static members through instance
2024-04-04 14:36:03 +02:00
Kseniia Sumarokova
1a701921ff
Merge pull request #62160 from ClickHouse/add-more-logging
Add some logging
2024-04-04 13:48:28 +02:00
kssenii
62f9be052c Fix test 2024-04-04 13:41:30 +02:00
kssenii
1e982a2368 Merge remote-tracking branch 'origin/master' into use-iobject-storage-for-table-engines-1 2024-04-04 13:26:06 +02:00
kssenii
be30806dbe Merge remote-tracking branch 'origin/master' into use-iobject-storage-for-table-engines-1 2024-04-04 13:20:12 +02:00
Raúl Marín
276246ee97 Introduce IAggregateFunction_fwd to reduce header dependencies 2024-04-04 12:29:54 +02:00
alesapin
58c79af80b Simpler 2024-04-04 12:22:11 +02:00
kssenii
5ce8ab2bd9 More logging 2024-04-04 11:32:32 +02:00
Dmitry Novik
d86eae3dd9
Merge pull request #62186 from ClickHouse/analyzer-query-param
Analyzer: Fix query parameter resolution
2024-04-04 11:26:12 +02:00
vdimir
b4ae81ee00
Merge pull request #62253 from ClickHouse/vdimir/analyzer_legacy_lambda_syntax
Fix lambda(tuple(x), x + 1) syntax in analyzer
2024-04-04 11:21:03 +02:00
Maksim Kita
414f3aebef Context getGlobalTemporaryVolume use shared lock 2024-04-04 11:32:39 +03:00
Robert Schulze
de2a0be025
Don't access static members through instance
- clang-tidy rightfully complains (-readability-static-accessed-through-instance)
- not going to enable the warning for now to avoid breaking the build
2024-04-03 18:50:33 +00:00
kssenii
925148f928 Add logging 2024-04-03 20:32:48 +02:00
Raúl Marín
40b901a2e3 More crap 2024-04-03 19:49:56 +02:00
kssenii
c70ecfe5f3 Fix 2024-04-03 19:18:56 +02:00
jsc0218
ee589f8a8b Merge remote-tracking branch 'origin/master' into TableEngineGrant_version2 2024-04-03 17:17:33 +00:00
Raúl Marín
11eb872ac6 Remove more nested includes 2024-04-03 19:06:36 +02:00
kssenii
2db1e34517 Better logger name 2024-04-03 19:06:33 +02: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
Dmitry Novik
90ac11171c Fix crash 2024-04-03 12:18:54 +00:00
avogar
d87d5a9197 Merge branch 'master' of github.com:ClickHouse/ClickHouse into better-stress-upgrade-checks 2024-04-03 12:07:22 +00: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
vdimir
e693418f63
Fix crash in index definition containing sql udf 2024-04-03 10:45:45 +00:00
vdimir
71450c909a
Fix lambda(tuple(x), x + 1) syntax in analyzer 2024-04-03 10:39:43 +00: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
kssenii
9d9ee6ce06 Remove assertion 2024-04-03 12:16:50 +02:00
Raúl Marín
0d3d7b3146
Revert "Resubmit 'Update invalidate_query_response on dictionary startup'" 2024-04-03 12:12:31 +02:00
Kseniia Sumarokova
f0dac3dfd5
Merge branch 'master' into add-more-logging 2024-04-03 12:05:53 +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
serxa
5afec7b64d Merge branch 'master' into fix-db-iterator-waits 2024-04-03 09:29:32 +00:00
Pablo Marcos
e785327b23 Merge branch 'master' into pamarcos/copy_comment_in_create_as_statement 2024-04-03 08:53:50 +02:00
Anton Popov
ed448eae42 add setting lightweight_deletes_sync 2024-04-02 18:40:46 +00:00
kssenii
607a9d761b Fix 2024-04-02 19:04:02 +02:00
kssenii
9b74e246af Rename a method 2024-04-02 19:03:54 +02:00
alesapin
add92939da
Merge d11d10050b into e037e68130 2024-04-02 16:08:10 +00:00
alesapin
f5c5146153 [RFC] Try to add global Real and CPU trace collector 2024-04-02 18:04:53 +02:00
kssenii
c11aa01226 Fix race 2024-04-02 17:58:59 +02:00
Dmitry Novik
40b9f39c00 Analyzer: Fix query parameters 2024-04-02 17:47:00 +02: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
Pablo Marcos
6d431184a8 Only copy comment if it's not empty 2024-04-02 17:25:42 +02:00
kssenii
7285a55f69 One more 2024-04-02 17:08:32 +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
kssenii
fb94a95425 Add logging 2024-04-02 12:23:22 +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
Pablo Marcos
3d7c1db763 Copy comment when using CREATE AS statement 2024-03-31 13:46:29 +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
kssenii
fd925770b2 Fixes after merge 2024-03-28 17:00:54 +01:00
kssenii
52a08a7aa0 Merge remote-tracking branch 'origin/master' into less-contentaion-in-cache-part4 2024-03-28 16:58:50 +01:00
kssenii
1d453af6ff Fix style check 2024-03-28 16:47:22 +01:00
vdimir
0b85d8570b
Resubmit 'Update invalidate_query_response on dictionary startup' 2024-03-28 16:46:44 +01:00
kssenii
19b90d8348 Resolve conflicts after merge, add system.filesystem_cache_settings 2024-03-28 16:28:59 +01:00
kssenii
15768ffce6 Merge remote-tracking branch 'origin/master' into better-dynamic-cache-resize-part-2 2024-03-28 16:28:18 +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
p1rattttt
5a9d1ac2f3
Merge branch 'master' into cross_join_compression 2024-03-28 10:13:18 +03:00
Maxim Alexeev
64c3c0bffc Added test 2024-03-28 01:09:02 +03:00
Maxim Alexeev
9e719868a0 changed parameters 2024-03-27 23:28:13 +03:00
avogar
043c625898 Don't treat Bool and number variants as suspicious 2024-03-27 19:19:08 +00:00
kssenii
e0c02bf3af Merge remote-tracking branch 'origin/master' into use-iobject-storage-for-table-engines-1 2024-03-27 19:27:07 +01: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
p1rattttt
d559d5ad17
Merge branch 'ClickHouse:master' into cross_join_compression 2024-03-26 10:26:46 +03: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
avogar
2e066966b1 Add log message, use storesDataOnDisk method 2024-03-25 22:17:43 +00:00
Kruglov Pavel
de1229ba60
Merge branch 'master' into better-stress-upgrade-checks 2024-03-25 19:18:35 +01: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
46941e7243 Merge remote-tracking branch 'origin/master' into use-iobject-storage-for-table-engines-1 2024-03-25 15:10:11 +01:00
kssenii
e3d2fb28cf Merge remote-tracking branch 'origin/master' into revert-refert-of-broken-projections-handling 2024-03-25 13:54:39 +01:00
kssenii
513bb7ddbb Minor 2024-03-25 13:54:06 +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
kssenii
f7ef5734fa Add more comments 2024-03-25 12:10:26 +01:00
HowePa
d38534e047 add TRUNCATE ALL TABLES 2024-03-25 15:59:15 +08:00
zhongyuankai
64961edb3f Merge branch 'master' into drop_tables 2024-03-25 11:13:26 +08:00
zhongyuankai
7e264839c9 bug fix 2024-03-25 11:04:12 +08:00
Alexey Milovidov
cbf3b5ea02 Fix error 2024-03-25 03:41:52 +01:00
Alexey Milovidov
d488d4fac5 Remove unused headers 2024-03-25 03:38:47 +01:00
Alexey Milovidov
e3dd42131c Fix build 2024-03-25 03:38:47 +01:00
Alexey Milovidov
4813014710 Merge with master 2024-03-25 03:38:47 +01:00
Alexey Milovidov
29d51d71b7 Fix the name 2024-03-25 03:38:47 +01:00
Duc Canh Le
271342a871 change column name from duration_ms to duration_us in system.zookeeper
Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
2024-03-25 03:38:46 +01:00
Alexey Milovidov
3d5908b876 Merge branch 'master' into get-client-http-header 2024-03-25 03:27:18 +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
Alexey Milovidov
baef1cd4d2 Merge branch 'master' into get-client-http-header 2024-03-24 21:37:14 +01: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
51aada55b1
Merge pull request #61736 from ClickHouse/cucurbita
Fix segfault in SquashingTransform
2024-03-24 22:01:41 +03:00
Alexey Milovidov
cf84860fcb Merge remote-tracking branch 'origin/master' into total-rows-in-system-zeros-generate-random 2024-03-24 18:48:09 +01:00
kssenii
b87b280e38 Adjust check for duplicate queue entry 2024-03-24 15:15:59 +01:00
Alexey Milovidov
008c252a26
Merge pull request #61365 from evillique/fix-attach-on-cluster
Fix ATTACH query with external ON CLUSTER
2024-03-24 04:17:42 +03:00
Alexey Milovidov
86039802e3 Set total_rows_approx for trivial queries with LIMIT from system.zeros and generateRandom 2024-03-24 00:46:48 +01:00
Alexey Milovidov
ea2fd57cca Set total_rows_approx for trivial queries with LIMIT from system.zeros and generateRandom 2024-03-24 00:42:59 +01:00
kssenii
b91184219d SLRU: disallow concurrent priority increase if there is unfinished space reservation 2024-03-23 22:29:29 +01:00
Alexey Milovidov
7eb02125f4 Merge branch 'master' into cross_join_compression 2024-03-23 22:00:51 +01:00
Alexey Milovidov
e195806c5b Add function getClientHTTPHeader, part 1 2024-03-23 20:52:26 +01:00
Antonio Andelic
61e74cc2df
Merge pull request #61752 from ClickHouse/keeper-destroy-dispatcher-first
Keeper fix: destroy `KeeperDispatcher` first
2024-03-23 18:51:32 +01:00
kssenii
d3c6836e2b More logging 2024-03-23 12:25:16 +01:00
Alexander Tokmakov
ace983f3d5 skip more sanity checks for secondary create queries 2024-03-23 00:03:31 +01:00
Alexey Milovidov
a56c113c83 Fix for clang-19 2024-03-22 22:12:59 +01:00
Alexey Milovidov
14c616e696 Fix for clang-19 2024-03-22 21:29:42 +01:00
vdimir
a1036075e0
Merge branch 'master' into vdimir/using_alias_followup 2024-03-22 20:16:26 +00:00
Michael Kolupaev
84daaa1c7e Style 2024-03-22 20:00:42 +00:00
kssenii
b69e4541b9 Unify code in SLRU 2024-03-22 18:06:46 +01:00
Nikolai Kochetov
41d9b19a4a
Merge pull request #61059 from ClickHouse/fix-parallel-replicas-explain-syntax-crash
Fix: parallel replicas with CTEs, crash in EXPLAIN SYNTAX with analyzer
2024-03-22 18:06:30 +01:00
kssenii
e91dc87f82 Speed up dynamic resize of filesystem cache 2024-03-22 17:26:12 +01:00
Nikolay Degterinsky
83ccd2a144 Merge remote-tracking branch 'upstream/master' into fix-attach-on-cluster 2024-03-22 16:06:01 +00:00
avogar
47095f63b1 Fix writing exception message in output format in HTTP when http_wait_end_of_query is used 2024-03-22 16:03:28 +00:00
kssenii
272ae1d6ea Fixes 2024-03-22 16:13:06 +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
Antonio Andelic
6a681e074f Fix build 2024-03-22 15:17:28 +01:00
Sergei Trifonov
7013b84445
Merge branch 'master' into more-log-for-async-loader 2024-03-22 11:11:51 +01:00
Antonio Andelic
5beabe071c Destroy KeeperDispatcher first 2024-03-22 09:43:39 +01:00
pufit
216dcbef2c
Correct revoke for the partially granted rights. (#61115)
* Correct revoke for the partially granted rights.
2024-03-22 02:13:51 -04: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
Michael Kolupaev
7ac41d7fc1 Fix segfault in SquashingTransform 2024-03-21 23:25:55 +00:00
yariks5s
6a19b77d9e init 2024-03-21 18:39:05 +00:00
Alexey Milovidov
8670f1dc91
Merge pull request #61543 from ClickHouse/fix-regexp-recompilation-in-parser
Fix recompilation of regexps during backtracking in the parser
2024-03-21 21:15:17 +03:00
kssenii
87b1e0ead2 Add more logging 2024-03-21 18:22:11 +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
Igor Nikonov
f36e19917f Disable analyzer for EXPLAIN SYNTAX queries 2024-03-21 15:27:39 +00: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
kssenii
b1e03abc1f One more fix for SLRU 2024-03-21 12:51:26 +01:00
serxa
c31b958f88 Merge branch 'master' into async-loader-waiters-limit 2024-03-21 10:58:22 +00:00
serxa
67819b1484 Merge branch 'master' into fix-db-iterator-waits 2024-03-21 10:53:54 +00:00
Sergei Trifonov
a91eaa78ee
Update src/Interpreters/ServerAsynchronousMetrics.cpp
Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
2024-03-21 11:46:44 +01:00
vdimir
15bf6d1d5f
Merge branch 'master' into vdimir/using_alias_followup 2024-03-21 10:39:18 +00:00
vdimir
9b51780458
Merge pull request #60896 from loudongfeng/master_smj_nullorder
make nulls direction configuable for FullSortingMergeJoin
2024-03-21 10:40:43 +01:00
Antonio Andelic
c06a509033
Merge pull request #61654 from ClickHouse/fix-aggregator-variant
Fix Aggregator when data is empty
2024-03-21 08:48:15 +01:00
Alexey Milovidov
99ed82d561 Merge branch 'master' into fix-regexp-recompilation-in-parser 2024-03-21 02:21:09 +01:00
Alexey Milovidov
97b7daef84
Merge pull request #61604 from Algunenano/nested_includes
Reduce header dependencies
2024-03-21 02:02:17 +03:00
kssenii
e9bc922d94 Fix SLRU case, not yet working 2024-03-20 21:02:04 +01:00
Alexander Tokmakov
d190ee8113
Update AsynchronousInsertQueue.h 2024-03-20 19:19:30 +01:00
vdimir
2753042387
Merge branch 'master' into vdimir/using_alias_followup 2024-03-20 17:29:13 +00:00
vdimir
c799bfd016
Analyzer: fixes for join using columns 2024-03-20 17:13:59 +00:00
Robert Schulze
35cc335597
Revert "Un-flake test_undrop_query" 2024-03-20 18:04:35 +01:00
serxa
87037d6d7d fix build 2024-03-20 16:17:30 +00:00
Antonio Andelic
9bf50ac814 Fix aggregator when data is empty 2024-03-20 14:50:26 +01:00
Raúl Marín
c98634ad8c Merge remote-tracking branch 'blessed/master' into nested_includes 2024-03-20 14:08:10 +01:00
Kruglov Pavel
e7e11d738b
Merge branch 'master' into revert-61200-revert-60430-max-parallel-replicas-validate 2024-03-20 13:59:38 +01:00
Dmitry Novik
10bf164aa7 Cleanup #ci_set_analyzer 2024-03-20 10:47:15 +01:00
kssenii
fd7c732c12 Add one more comment, better cache policy randomizer 2024-03-19 23:09:17 +01:00
kssenii
4940162959 Add comments 2024-03-19 22:44:08 +01:00
Alexander Tokmakov
7275caf5bb
Update Context.cpp 2024-03-19 22:40:00 +01:00
Vitaly Baranov
2f4b9b3a5b Add few notes and a debug check. 2024-03-19 22:07:13 +01:00
p1rattttt
08d581fcbe
Merge branch 'ClickHouse:master' into cross_join_compression 2024-03-20 00:02:20 +03:00
Alexander Tokmakov
1913466da4 fix uaf of async_insert_queue 2024-03-19 21:07:42 +01:00
Alexey Milovidov
a996155e83 Merge branch 'master' of github.com:ClickHouse/ClickHouse into fix-regexp-recompilation-in-parser 2024-03-19 19:56:11 +01:00
Alexey Milovidov
b561560c99 Remove it from remaining places 2024-03-19 19:55:59 +01:00
Dmitry Novik
221b74c77f Fix #ci_set_analyzer 2024-03-19 19:44:15 +01:00
Alexander Tokmakov
5d7e5e5a72 Merge branch 'master' into fix_race_async_inserts_queue 2024-03-19 19:39:25 +01:00
kssenii
0122c3e883 Merge remote-tracking branch 'origin/master' into use-iobject-storage-for-table-engines-1 2024-03-19 19:31:02 +01:00
Dmitry Novik
302179c81d Merge remote-tracking branch 'origin/master' into analyzer-distr-json 2024-03-19 18:56:04 +01:00
Maksim Kita
f4d20a79b0 Fixed build 2024-03-19 19:07:45 +03:00
Maksim Kita
ec6c276a92 Temporary data use temporary_files_codec setting 2024-03-19 19:07:45 +03:00
Raúl Marín
de855ca917 Reduce header dependencies 2024-03-19 17:04:29 +01:00
kssenii
02ff01f246 Fix build 2024-03-19 16:48:42 +01:00
Nikolay Degterinsky
4e2e5a015b
Fixes 2024-03-19 16:29:50 +01:00
kssenii
3d8ed0e5f7 Merge remote-tracking branch 'origin/filecache-better-try-reserve' into less-contentaion-in-cache-part4 2024-03-19 15:58:47 +01:00
Alexey Milovidov
018316c78a
Merge pull request #61211 from bigo-sg/split_aggregator
Too big translation unit in `Aggregator`
2024-03-19 17:29:24 +03:00
kssenii
595165add0 Merge remote-tracking branch 'origin/master' into filecache-better-try-reserve 2024-03-19 15:12:55 +01:00
kssenii
6a29268d5a Fix 2024-03-19 15:11:06 +01:00
Nikolai Kochetov
240242da22
Merge pull request #61580 from ClickHouse/follow-up-61458
Add a comment after #61458
2024-03-19 14:06:24 +01:00
Nikolai Kochetov
f2f770d73a
Update src/Interpreters/ActionsDAG.h
Co-authored-by: Sergei Trifonov <sergei@clickhouse.com>
2024-03-19 13:37:21 +01:00
Nikolai Kochetov
ba6d6e9258 Add a comment after #61458 2024-03-19 11:40:03 +00:00
János Benjamin Antal
922df7d60e
Merge pull request #61003 from amosbird/less-header-1
Replace some header includes with forward declarations
2024-03-19 12:14:06 +01:00
Alexander Tokmakov
dd50091513
Merge pull request #60338 from PapaToemmsn/test-transaction-fixes
fix for #57598 (ROLLBACK should be no-op...)
2024-03-19 11:56:25 +01:00
Kseniia Sumarokova
73487600c1
Merge pull request #61524 from ClickHouse/better-dynamic-cache-size-reloading-part-1
Less contention during dynamic resize of filesystem cache
2024-03-19 11:41:44 +01:00
lgbo-ustc
4eeb9a7e83 Merge remote-tracking branch 'origin/master' into split_aggregator 2024-03-19 16:32:01 +08:00
nemonlou
8ff21d7e47 fix review comments 2024-03-19 11:29:22 +08:00
nemonlou
0b5fc743f2 make nulls direction configuable for FullSortingMergeJoin(fix review comments) 2024-03-19 09:58:07 +08:00
nemonlou
a1a4bd3514 make nulls direction configuable for FullSortingMergeJoin 2024-03-19 09:58:07 +08:00
Vitaly Baranov
c8375cd167 Better code: remove unnecessary usage of const_cast and std::function. 2024-03-19 02:56:38 +01:00
Vitaly Baranov
306f642d97 Update dictionary's comment in the same safe manner too. 2024-03-19 02:56:33 +01:00
robot-ch-test-poll3
e82cf5d5ba
Merge pull request #61528 from ClickHouse/revert-61518-revert-61298-analyzer-merge-virtual-columns
Revert "Revert "Analyzer: Fix virtual columns in StorageMerge""
2024-03-18 23:51:55 +01:00
PapaToemmsn
fbc8a19a02
Merge branch 'ClickHouse:master' into test-transaction-fixes 2024-03-18 22:42:10 +01:00
Robert Schulze
0daaeeab78
Merge pull request #61406 from rschu1ze/enable-clang-tidy-in-headers
Enable clang-tidy in headers
2024-03-18 21:43:26 +01:00
serxa
69ef7c6f19 add logging 2024-03-18 18:15:54 +00:00
Alexey Milovidov
613c31038a Fix recompilation of regexps during backtracking in the parser 2024-03-18 18:40:47 +01:00
avogar
31d5049f80 Move logic of ignoring drop queries to server 2024-03-18 16:26:05 +00:00
Nikita Mikhaylov
15896ecaf6
Add table system.keywords [Part 1] (#51808) 2024-03-18 16:58:57 +01:00
serxa
051103b0e0 Fix db iterator wait during async metrics collection 2024-03-18 15:39:21 +00:00
kssenii
caaaacb9a2 Fix case when only one of the limits (size || elements_count) is not satisfied, which lead to it not being satisfied at second phase of space reservation 2024-03-18 16:38:43 +01:00
Dmitry Novik
836fe46c33 Disable new analyzer in MutationsInterpreter #ci_set_analyzer 2024-03-18 15:50:58 +01:00
PapaToemmsn
46a43fefdf
Merge branch 'ClickHouse:master' into test-transaction-fixes 2024-03-18 15:17:55 +01:00
PapaToemmsn
364fe95b76 fix style check errors 2024-03-18 14:14:52 +00:00
PapaToemmsn
da3cb02df5 COMMIT/ROLLBACK with no active transaction do not throw an exception for MySQL clients anymore 2024-03-18 14:14:51 +00:00
PapaToemmsn
e208907f39 fix for #57598 (ROLLBACK should be no-op...)
Change to verify proper behaviour for ROLLBACK should be no-op when no active tranaction is running (MySQL compatibility) #57598
2024-03-18 14:14:50 +00:00
Vitaly Baranov
5c60b1fab1 Remove unnecessary reloading while renaming a dictionary in Atomic database. 2024-03-18 14:43:43 +01:00
Dmitry Novik
15e19206b4 Merge remote-tracking branch 'origin/master' into analyzer-distr-json-copy 2024-03-18 14:24:51 +01:00
Dmitry Novik
64b5acf0e4 Code cleanup 2024-03-18 14:24:06 +01:00
Dmitry Novik
a65f027cf7
Revert "Revert "Analyzer: Fix virtual columns in StorageMerge"" 2024-03-18 14:00:20 +01:00
kssenii
9850522be3 Add debug logging 2024-03-18 13:25:33 +01:00
kssenii
c6e86e3bb3 Review suggestion 2024-03-18 13:06:39 +01:00
Robert Schulze
0dff126942
Merge remote-tracking branch 'rschu1ze/master' into enable-clang-tidy-in-headers 2024-03-18 11:34:13 +00:00
alesapin
b01526aeb2
Merge pull request #61267 from CurtizJ/better-memory-usage-inserts
Free memory earlier in inserts
2024-03-18 12:30:42 +01:00
kssenii
718e092c91 Make dynamic resize of cache non blocking 2024-03-18 12:19:38 +01:00
Nikita Mikhaylov
30b757b40d
Check boundaries for some settings in parallel replicas (#61455) 2024-03-18 12:06:45 +01:00
Sergei Trifonov
948ec2ba86
Merge pull request #60314 from ClickHouse/fix-db-shutdown-with-async-loader
Fix database iterator waiting code
2024-03-18 11:26:41 +01:00
Antonio Andelic
6549a96ced
Revert "Analyzer: Fix virtual columns in StorageMerge" 2024-03-18 10:38:28 +01:00
János Benjamin Antal
4b4a03c0f1
Merge branch 'master' into less-header-1 2024-03-18 10:25:42 +01:00
lgbo-ustc
43eea86ec5 fixed 2024-03-18 17:13:20 +08:00
lgbo-ustc
e40342d65d Merge remote-tracking branch 'origin/master' into split_aggregator 2024-03-18 17:11:55 +08:00
Robert Schulze
e5baeaba9c
Fix FastTest 2024-03-18 08:00:21 +00:00
Robert Schulze
c17536c3b3
Enable clang-tidy in headers 2024-03-18 08:00:09 +00:00
Robert Schulze
eb26bb2a1c
Merge pull request #61348 from rschu1ze/flaky-test_uncrop_query
Un-flake `test_undrop_query`
2024-03-18 08:56:22 +01:00
Alexey Milovidov
01136bbc3b Limit backtracking in parser 2024-03-17 19:54:45 +01:00
Alexey Milovidov
bfea36877b
Merge pull request #61499 from ClickHouse/fix-fuzzers
Fix fuzzers
2024-03-17 21:15:10 +03:00
kssenii
7931c44ff2 Check static storage policy 2024-03-17 17:40:43 +01:00
Alexey Milovidov
677f2dac21
Merge pull request #61114 from ClickHouse/split-cast-overload-resolver
Split `CastOverloadResolver` translation unit
2024-03-17 19:16:43 +03:00
Alexey Milovidov
44e918bc67 Revive getFuzzerData 2024-03-17 16:22:33 +01:00
kssenii
c35296b6ea Fix 2024-03-17 15:50:10 +01:00
Alexey Milovidov
0a3e42401c Fix fuzzers 2024-03-17 15:44:36 +01:00
kssenii
13c10fce1a Merge remote-tracking branch 'origin/master' into filecache-better-try-reserve 2024-03-17 15:26:52 +01:00
Kseniia Sumarokova
f53f3cd833
Merge pull request #61494 from ClickHouse/minor-rename
Minor rename in FileCache
2024-03-17 15:04:24 +01:00
Alexey Milovidov
994bf8765c Merge branch 'master' of github.com:ClickHouse/ClickHouse into split-cast-overload-resolver 2024-03-17 14:20:02 +01:00
kssenii
ea77c48c23 Fix style check 2024-03-17 13:36:40 +01:00
Alexey Milovidov
cb8d859453
Merge branch 'master' into analyzer-distr-json 2024-03-17 15:15:06 +03:00
Alexey Milovidov
bf98386a33
Merge pull request #61298 from ClickHouse/analyzer-merge-virtual-columns
Analyzer: Fix virtual columns in StorageMerge
2024-03-17 15:05:23 +03:00
Vitaly Baranov
4fe1c9a78f Get rid of checking the "last modification time" when the configuration is generated
to allow ExternalLoader::reloadConfig() work for generated configurations too.
2024-03-17 12:10:57 +01:00
Vitaly Baranov
41d8621d97 Fix replacing dictionaries: StorageID is now updated immediately for every dictionary during CREATE OR REPLACE
even if the dictionary is not loaded yet or loading right now.
2024-03-17 12:10:52 +01:00
kssenii
e8b7a2395a Merge remote-tracking branch 'origin/master' into filecache-better-try-reserve 2024-03-16 19:36:09 +01:00
kssenii
387e0bed4b Fix case when entry might be removed at itarate() by another thread (because of !locked_key) before we call finalize() for it 2024-03-16 19:34:38 +01:00
kssenii
f5a13a023b Rename CacheGuard -> CachePriorityGuard (because it is more correct) 2024-03-16 18:58:16 +01:00
Alexey Milovidov
9be38c064a Merge branch 'master' into split-cast-overload-resolver 2024-03-16 14:07:59 +01:00
Yakov Olkhovskiy
63a3555881 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into fix-alter-query-cte 2024-03-16 03:25:49 +00:00
Dmitry Novik
7c49d5bbf6 Fix some tests #ci_set_analyzer 2024-03-15 15:35:31 +00:00
avogar
9b6a5df20d Merge commit 'a3373ab580804545bafc9db64e10c95b067f6ecb' of github.com:ClickHouse/ClickHouse into revert-61200-revert-60430-max-parallel-replicas-validate 2024-03-15 15:13:41 +00:00
Robert Schulze
f132eef63b
Merge remote-tracking branch 'rschu1ze/master' into flaky-test_uncrop_query 2024-03-15 15:12:58 +00:00
Anton Popov
6ad2f95837 Merge remote-tracking branch 'upstream/master' into HEAD 2024-03-15 13:52:20 +00:00
Anton Popov
e50ebe13f2
Merge pull request #61257 from CurtizJ/fix-uniq-exact
Fix possible incorrect result of aggregate function `uniqExact`
2024-03-15 14:34:16 +01:00
Alexey Milovidov
c9fb8ef54b Merge branch 'master' into split-cast-overload-resolver 2024-03-15 07:09:51 +01:00
Dmitry Novik
cd912074a5 Fixup 2024-03-14 18:29:07 +01:00
kssenii
095d53a67c Add explanation 2024-03-14 18:16:22 +01:00
Anton Popov
edaf2c8023 Merge remote-tracking branch 'upstream/master' into HEAD 2024-03-14 17:06:22 +00:00
Dmitry Novik
90669ef487 Merge remote-tracking branch 'origin/master' into analyzer-distr-json 2024-03-14 17:43:26 +01:00
kssenii
e56d472602 Fix correctness 2024-03-14 17:43:14 +01:00
Anton Popov
82b089f4e9 remove profile event 2024-03-14 13:59:29 +00:00
Robert Schulze
06d917fcf0
Merge pull request #61150 from rschu1ze/clang-tidy-list
Some clang-tidy fixes
2024-03-14 14:54:41 +01:00
vdimir
0b97f3ac16
Merge pull request #61320 from ClickHouse/vdimir/fix_rabbitmq_logical_error
Fix logical error in RabbitMQ storage with MATERIALIZED columns
2024-03-14 13:28:05 +01:00
Alexey Milovidov
8094dd88d9 Merge branch 'master' into split-cast-overload-resolver 2024-03-14 13:08:37 +01:00
Alexey Milovidov
1a41aa4ac7 Merge branch 'master' of github.com:ClickHouse/ClickHouse into split-cast-overload-resolver 2024-03-14 13:06:23 +01:00
lgbo-ustc
263b4de06a Merge remote-tracking branch 'origin/master' into split_aggregator 2024-03-14 20:06:17 +08:00
Nikolay Degterinsky
a0044f3aa4 Fix ATTACH query with external ON CLUSTER 2024-03-14 11:44:35 +00:00
kssenii
64712601a4 Add assertions 2024-03-14 12:03:24 +01:00
Kseniia Sumarokova
659463acd4
Merge pull request #61152 from ClickHouse/revive-cache-contention-fix
Revive "Less contention in the cache, part 2"
2024-03-14 11:45:51 +01:00
Robert Schulze
3486b4a6e3
Merge remote-tracking branch 'rschu1ze/master' into clang-tidy-list 2024-03-14 10:44:20 +00:00
lgbo-ustc
6b26d05346 fixed 2024-03-14 08:55:59 +08:00
lgbo-ustc
99059b65c5 Merge remote-tracking branch 'origin/master' into split_aggregator 2024-03-14 08:54:12 +08:00
jsc0218
b3b46ea708 Merge remote-tracking branch 'origin/master' into TableEngineGrant_version2 2024-03-14 00:36:29 +00:00
Robert Schulze
bd6bed161c
Try to fix flaky test_undrop_query 2024-03-13 20:56:42 +00:00
kssenii
6e6a67a2fb Fix unit test 2024-03-13 19:13:39 +01:00
avogar
32410a68c1 Fix tests 2024-03-13 18:00:57 +00:00
vdimir
b2e067b3da
Fix logical error in RabbitMQ storage with MATERIALIZED columns 2024-03-13 16:41:35 +00:00
Kseniia Sumarokova
bc9dd7bb0b
Merge branch 'master' into revive-cache-contention-fix 2024-03-13 16:52:00 +01:00
kssenii
97b3474332 Add assertion 2024-03-13 15:54:05 +01:00
kssenii
16c8ee509d Fix tests 2024-03-13 15:52:30 +01:00
kssenii
9bb71291d5 Fix unit test 2024-03-13 14:42:57 +01:00
Dmitry Novik
1a47682c12 Analyzer: Fix virtual columns in StorageMerge #ci_set_analyzer 2024-03-13 13:08:12 +01:00
Yarik Briukhovetskyi
63f6f10fb1
Merge branch 'ClickHouse:master' into fix_fuzzer_max_streams_to_max_threads_ratio 2024-03-13 12:58:34 +01:00
kssenii
3931351ec4 Pass timeout through setting 2024-03-13 12:36:47 +01:00
lgbo-ustc
4f446c5663 fixed 2024-03-13 19:22:16 +08:00
kssenii
bb55a0ca50 Less contention in cache (Part 4) 2024-03-13 11:15:38 +01:00
kssenii
c8f6d6ada9 Add missing finalize 2024-03-13 10:53:57 +01:00
lgbo-ustc
8362c11c8a fixed 2024-03-13 17:39:40 +08:00
lgbo-ustc
87a03ae219 fixed 2024-03-13 17:22:15 +08:00
lgbo-ustc
6ebc1e4522 fixed 2024-03-13 17:09:01 +08:00
Alexey Milovidov
3afdc94cfd Merge branch 'master' of github.com:ClickHouse/ClickHouse into split-cast-overload-resolver 2024-03-13 10:07:05 +01:00
lgbo-ustc
2a964c8db1 Merge remote-tracking branch 'origin/master' into split_aggregator 2024-03-13 16:56:42 +08:00
Alexey Milovidov
c2506b0344
Merge pull request #61171 from Algunenano/compilation
Remove a few templates from Aggregator.cpp
2024-03-13 10:24:06 +03:00
Yakov Olkhovskiy
b157eb796f Merge remote-tracking branch 'origin/master' into fix-alter-query-cte 2024-03-13 05:16:00 +00:00
Alexey Milovidov
146e401851 Merge branch 'master' into split-cast-overload-resolver 2024-03-13 04:28:24 +01:00
Anton Popov
f35987928b free memory earlier in inserts 2024-03-12 18:05:14 +00:00
Anton Popov
ccc6df0e43 fix aggregate function uniqExact 2024-03-12 16:48:19 +00:00
Yarik Briukhovetskyi
858ad2d688
beautify and change max_value 2024-03-12 16:39:10 +01:00
yariks5s
01d0fba085 init 2024-03-12 14:48:59 +00:00
Kseniia Sumarokova
f7ac982a6b
Merge branch 'master' into use-iobject-storage-for-table-engines-1 2024-03-12 15:18:19 +01:00
Robert Schulze
1b1685e3f1
Merge remote-tracking branch 'rschu1ze/master' into clang-tidy-list 2024-03-12 13:02:59 +00:00
Kseniia Sumarokova
632c6c0cb7
Merge branch 'master' into filecache-better-try-reserve 2024-03-12 12:39:58 +01:00
Kseniia Sumarokova
59dc34ea69
Merge branch 'master' into revive-cache-contention-fix 2024-03-12 12:39:25 +01:00
vdimir
439fe42f88
Merge pull request #61013 from ClickHouse/vdimir/fix_astrename_clone
Fix ASTRenameQuery::clone
2024-03-12 11:13:28 +01:00
lgbo-ustc
5f1991fbef too big translation unit in Aggregator 2024-03-12 16:17:33 +08:00
Alexey Milovidov
5222ebc4b4 Merge branch 'master' of github.com:ClickHouse/ClickHouse into split-cast-overload-resolver 2024-03-12 06:37:38 +01:00
zhongyuankai
c6c40d1ac1 Merge branch 'master' into drop_tables 2024-03-12 08:54:55 +08:00
Raúl Marín
3cc07603ff Merge remote-tracking branch 'blessed/master' into compilation 2024-03-11 22:53:55 +01:00
Kruglov Pavel
5608005b34
Revert "Revert "Don't allow to set max_parallel_replicas to 0 as it doesn't make sense"" 2024-03-11 21:22:45 +01:00
Kruglov Pavel
a90a6e9a27
Revert "Don't allow to set max_parallel_replicas to 0 as it doesn't make sense" 2024-03-11 21:05:44 +01:00
Kseniia Sumarokova
38ba6990bb
Merge branch 'master' into use-iobject-storage-for-table-engines-1 2024-03-11 18:47:56 +01:00
Kseniia Sumarokova
dc5341c1c8
Merge branch 'master' into filecache-better-try-reserve 2024-03-11 18:43:40 +01:00
Kseniia Sumarokova
97a935ea10
Merge branch 'master' into revive-cache-contention-fix 2024-03-11 18:43:16 +01:00
Kseniia Sumarokova
cb3cb8ec52
Merge pull request #60308 from ClickHouse/add-a-way-to-force-read-through-filesystem-cache-for-merges
Add a setting to force read-through cache for merges
2024-03-11 18:40:11 +01:00
Kruglov Pavel
1c1336bdc0
Merge pull request #60430 from Avogar/max-parallel-replicas-validate
Don't allow to set max_parallel_replicas to 0 as it doesn't make sense
2024-03-11 18:04:54 +01:00
Raúl Marín
5db0829245 Remove another template 2024-03-11 17:20:53 +01:00
kssenii
96778ff6ae Less contention in cache (Part 3) 2024-03-11 16:34:15 +01:00
Raúl Marín
879f7f2f8c Remove more templates for JIT 2024-03-11 16:28:25 +01:00
Raúl Marín
8b5ccb4735 Remove one template 2024-03-11 15:53:46 +01:00
kssenii
bfc4f5e1d3 Merge remote-tracking branch 'origin/master' into use-iobject-storage-for-table-engines-1 2024-03-11 14:57:15 +01:00
Raúl Marín
9bada70f45 Remove a bunch of transitive dependencies 2024-03-11 14:52:32 +01:00
vdimir
38b8e7ac7e
Maintain list of ASTRenameQuery children 2024-03-11 11:34:10 +00:00
kssenii
57f6263f67 Lock contention fix 2024-03-11 12:31:40 +01:00
serxa
294526e772 Merge branch 'master' into async-loader-waiters-limit 2024-03-11 11:22:09 +00:00
Robert Schulze
e5e84419af
Fix clang-tidy-s 2024-03-11 10:58:54 +00:00
Kseniia Sumarokova
3832b0e126
Merge branch 'master' into add-a-way-to-force-read-through-filesystem-cache-for-merges 2024-03-11 11:30:03 +01:00
Alexey Milovidov
4373d5ba16 Merge branch 'master' into split-cast-overload-resolver 2024-03-11 03:01:50 +01:00
Igor Nikonov
97248d0d5b
Merge pull request #61052 from ClickHouse/fix-usan-parallel-replicas-prewhere
Fix: parallel replicas with PREWHERE (ubsan)
2024-03-10 19:32:18 +01:00
serxa
5b796e1f42 Merge branch 'master' into async-loader-waiters-limit 2024-03-10 15:20:27 +00:00
Sema Checherinda
80179e50e4
Merge pull request #58845 from ClickHouse/chesema-session-pool
HTTP connections pool
2024-03-10 14:06:59 +01:00
Alexey Milovidov
69cab686e4 Fix build of examples 2024-03-10 10:03:31 +01:00
Kseniia Sumarokova
7e7fc4127d
Merge branch 'master' into revert-refert-of-broken-projections-handling 2024-03-10 10:01:34 +01:00
Sema Checherinda
5c41727725 http connections pools 2024-03-10 10:00:18 +01:00
Alexey Milovidov
d8e3fa6dc1 Fix something strange 2024-03-10 09:35:57 +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
Igor Nikonov
e9b0852a97 Merge remote-tracking branch 'origin/master' into fix-usan-parallel-replicas-prewhere 2024-03-08 18:52:49 +00:00
Igor Nikonov
c090c6fb0a Fix 2024-03-08 18:52:15 +00:00
Nikita Mikhaylov
f73a8f2eae
More comments for column for system tables (#59016) 2024-03-08 18:05:56 +01:00
Dmitry Novik
526af77f4a
Merge pull request #60313 from ClickHouse/analyzer-refactor-constant-name
Analyzer: Refactor execution name for ConstantNode
2024-03-08 12:08:05 +01:00
Nikolai Kochetov
66127173e5
Merge pull request #60464 from ClickHouse/constant-folding-scalar-subqueries
Try to avoid calculation of scalar subqueries for CREATE TABLE.
2024-03-08 10:18:41 +01:00
Alexey Milovidov
e7f99280dc Less contention in the cache, part 1 2024-03-08 02:10:01 +01:00
Nikita Mikhaylov
8e3fc1044f
Reject INSERT if async_insert=1 + deduplicate_blocks_in_dependent_materialized_views=1 (#60888) 2024-03-07 20:39:56 +01:00
Igor Nikonov
3c24082253 Merge remote-tracking branch 'origin/master' into fix-usan-parallel-replicas-prewhere 2024-03-07 18:05:10 +00:00
Nikolai Kochetov
73cc3e1c92 Merge branch 'master' into constant-folding-scalar-subqueries 2024-03-07 17:49:31 +00:00
Igor Nikonov
a2bdb054ca Cleanup 2024-03-07 17:31:37 +00:00
serxa
0f0ea422f2 separate limits on number of waiting and executing queries 2024-03-07 17:05:54 +00:00
Igor Nikonov
1b2357198d Fix: parallel replicas + prewhere 2024-03-07 17:03:43 +00:00
Sema Checherinda
820916b925
Merge pull request #60965 from ClickHouse/chesema-shuffle-ip
shuffle resolved IPs
2024-03-07 17:32:00 +01:00
Nikolai Kochetov
2b8cf8b6e9 Merge branch 'master' into constant-folding-scalar-subqueries 2024-03-07 16:06:55 +00:00
Nikolai Kochetov
2db1876750 Fixing analyzer. 2024-03-07 15:42:45 +00:00
Nikolai Kochetov
76bca1a743 Merge branch 'master' into allow-subqueries-for-in-parallel-replicas 2024-03-07 14:14:16 +00:00
Nikolai Kochetov
cd4b60b51a Rename the setting 2024-03-07 13:38:00 +00:00
Dmitry Novik
23b33e5e32 Merge remote-tracking branch 'origin/master' into analyzer-refactor-constant-name 2024-03-07 14:18:44 +01:00
Anton Popov
c103b0084b
Merge pull request #60205 from CurtizJ/refactor-virtual-columns
Refactoring of virtual columns
2024-03-07 13:38:35 +01:00