Commit Graph

13064 Commits

Author SHA1 Message Date
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
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
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
Nikolay Degterinsky
4e2e5a015b
Fixes 2024-03-19 16:29:50 +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
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
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
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
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
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
Sema Checherinda
62f9a00da8 shuffle resolved IPs 2024-03-07 13:09:26 +01:00
Amos Bird
f2a3ffe9eb
Replace some headers with forward decl 2024-03-07 18:10:09 +08:00
Nikita Taranov
4f6b1d0e7d
Merge pull request #60885 from nickitat/async_inserts_small_tweaks
Small changes in async inserts code
2024-03-06 23:03:50 +01:00
Nikita Taranov
f4fd4e6510
Merge pull request #60745 from jrdi/insert-select-deduplication-bug-reproducer
Fix insert-select + insert_deduplication_token bug by setting streams to 1
2024-03-06 21:02:30 +01:00
Dmitry Novik
d92538ced2
Merge branch 'master' into analyzer-refactor-constant-name 2024-03-06 17:55:52 +01:00
Nikolai Kochetov
2730f0b54f Allow subqueries for IN with parallel replicas under a setting. 2024-03-06 16:48:03 +00:00
vdimir
56b6810122
Merge pull request #60641 from ClickHouse/vdimir/analyzer/comute_alias_columns
Resubmit "Analyzer: compute ALIAS columns right after reading"
2024-03-06 16:52:16 +01:00
Anton Popov
f582797b36 Merge remote-tracking branch 'upstream/master' into HEAD 2024-03-06 14:14:42 +00:00
Dmitry Novik
016bbfe6f8 Merge remote-tracking branch 'origin/master' into analyzer-distr-json 2024-03-06 15:09:52 +01:00
Dmitry Novik
7065e650e1 Code cleanup 2024-03-06 14:34:03 +01:00
Dmitry Novik
076482e8bd Remove whitespaces 2024-03-06 14:04:09 +01:00
Dmitry Novik
b675268a9b
Merge pull request #60770 from ClickHouse/analyzer-settings-check
Fix crash with different allow_experimental_analyzer value in subqueries
2024-03-06 11:00:01 +01:00
Antonio Andelic
655f9cb195
Revert "Fix wacky primary key sorting in SHOW INDEX" 2024-03-06 08:57:20 +01:00
Nikolai Kochetov
b040eadaa1
Merge pull request #60510 from ClickHouse/refactor-system-one-block
Refactor StorageSystemOneBlock
2024-03-06 08:55:50 +01:00
Robert Schulze
8735c40ab2
Merge pull request #60514 from rschu1ze/show-index-sorting
Fix wacky primary key sorting in `SHOW INDEX`
2024-03-05 20:59:11 +01:00
Nikita Taranov
4f6cb21d51 set priority when scheduling task in thread pool 2024-03-05 19:45:25 +01:00
Anton Popov
7fe7f3a79d address review comments 2024-03-05 16:03:02 +00:00
vdimir
a8eeb899e3
Merge pull request #58278 from liuneng1994/optimize-all-join
Lazy build join output to improve performance of ALL join
2024-03-05 16:35:27 +01:00
Dmitry Novik
04370083bb Merge remote-tracking branch 'origin/master' into analyzer-refactor-constant-name 2024-03-05 14:57:00 +01:00
Jordi Villar
b4e90e5121 Address PR comments 2024-03-05 14:46:55 +01:00
Dmitry Novik
248c93ed2d
Change error code 2024-03-05 14:37:16 +01:00
Alexander Tokmakov
72a4533c4e Merge branch 'master' into ddl_none_only_active 2024-03-05 13:42:00 +01:00
Nikolai Kochetov
d4570aa3b2 Merge branch 'master' into constant-folding-scalar-subqueries 2024-03-05 12:14:54 +00:00
vdimir
6f3e9b6de2
Merge branch 'master' into vdimir/analyzer/comute_alias_columns 2024-03-05 13:08:58 +01:00
Robert Schulze
2c0b399c1f
Merge remote-tracking branch 'rschu1ze/master' into show-index-sorting 2024-03-05 11:27:32 +00:00
avogar
595c75ec53 Merge branch 'master' of github.com:ClickHouse/ClickHouse into max-parallel-replicas-validate 2024-03-05 11:19:04 +00:00
Kseniia Sumarokova
dbbe6b9f69
Merge branch 'master' into add-a-way-to-force-read-through-filesystem-cache-for-merges 2024-03-05 11:13:32 +08:00
Alexey Milovidov
8aeffa0356
Merge pull request #60765 from Avogar/fix-crash-in-input-join
Fix crash when using input() in INSERT SELECT JOIN
2024-03-05 04:32:50 +03:00
Nikolai Kochetov
819e7bfc77 Merge branch 'master' into refactor-system-one-block 2024-03-04 21:03:45 +00:00
Alexey Milovidov
a7430004b3 Fix real time query profiler on AArch64 2024-03-04 18:13:49 +01:00
Raúl Marín
96826ee8e1
Merge pull request #60362 from Algunenano/parallel_replicas_cte_2
Force reanalysis if parallel replicas changed
2024-03-04 17:16:17 +01:00
Alexey Milovidov
de6c5d3a40
Merge pull request #60552 from ClickHouse/pc2
Userspace page cache again
2024-03-04 17:47:35 +03:00
Dmitry Novik
f2387262ce Fix crash with different allow_experimental_analyzer value in subqueries 2024-03-04 15:32:15 +01:00
robot-ch-test-poll3
580f0f02d3
Merge pull request #60728 from ClickHouse/remove-old-code-5
Remove old code
2024-03-04 14:46:10 +01:00
Jordi Villar
1da1bbeae2 Set streams to 1 when using insert_deduplication_token 2024-03-04 14:35:57 +01:00
Dmitry Novik
01829450fb Merge remote-tracking branch 'origin/master' into analyzer-refactor-constant-name 2024-03-04 14:12:15 +01:00
avogar
ddf0dd7eb8 Fix crash when using input() in INSERT SELECT JOIN 2024-03-04 12:19:47 +00:00
Alexander Tokmakov
2e64b6722f
Revert "Synchronize parsers" 2024-03-04 11:42:21 +01:00
lgbo-ustc
aca219773b Merge remote-tracking branch 'origin/master' into hash_join_bug_59625 2024-03-04 10:51:26 +08:00
Alexey Milovidov
da2481c5c8 Merge remote-tracking branch 'origin/master' into remove-old-code-5 2024-03-04 00:12:03 +01:00
Alexey Milovidov
cbf5443585 Remove old code 2024-03-04 00:11:55 +01:00
Alexey Milovidov
fc7e66accb Fix build 2024-03-03 04:41:44 +01:00
Alexey Milovidov
6771e99d9f Merge branch 'master' into ddl_none_only_active 2024-03-03 03:09:24 +01:00
Yakov Olkhovskiy
3825cb3ad0 expand CTE in alter modify query 2024-03-02 15:28:45 +00:00
Nikita Taranov
4735eb3ab4 wait for pool jobs in case of exception on scheduling 2024-03-02 00:02:00 +01:00
Anton Popov
1b9e6c936e better interfaces for virtual columns 2024-03-01 22:29:56 +00:00
Nikita Taranov
bcd3ad01de
Merge pull request #55809 from amosbird/alt-51399
Improve the performance of serialized aggregation method when involving multiple [nullable] columns
2024-03-01 22:44:56 +01:00
Anton Popov
95611889dc fix tests 2024-03-01 18:44:33 +00:00
vdimir
47aa33408b
Resubmit "Analyzer: compute ALIAS columns right after reading"
This reverts commit 8141e1c3d1, reversing
changes made to fb099bbd62.
2024-03-01 14:53:02 +00:00
Raúl Marín
0dcaf3f2bb Merge remote-tracking branch 'blessed/master' into parallel_replicas_cte_2 2024-03-01 15:50:58 +01:00
Nikita Mikhaylov
4fd64a696b
Merge pull request #56942 from shabroo/master
Emit a warning in clickhouse-client if Ordinary database engine is used
2024-03-01 15:42:28 +01:00
Nikolai Kochetov
af5dae58ca Merge branch 'master' into refactor-system-one-block 2024-03-01 13:42:00 +00:00