Commit Graph

160421 Commits

Author SHA1 Message Date
Raúl Marín
291db8a366
Merge pull request #72722 from Algunenano/exception_compilation
Remove some nested includes
2024-12-03 22:58:37 +00:00
Michael Kolupaev
0dfa43eb4a
Merge pull request #71178 from ClickHouse/ssett
Send settings from server to client
2024-12-03 22:10:58 +00:00
Michael Kolupaev
d347e33fc1
Merge pull request #72731 from ClickHouse/testret
Fix clickhouse-test reporting 'No tests were run' after running tests
2024-12-03 22:10:40 +00:00
Nikita Taranov
fd9c8b1c64
Merge pull request #72746 from ClickHouse/divanik/strong_refcount_in_sos_source
Replace weak reference count to select query context with strong one in StorageObjectStorageSource
2024-12-03 22:01:29 +00:00
Nikita Taranov
ed19bf69a8
Merge pull request #72173 from JiaQiTang98/split-range-for-parallel-replicas
Split ranges in `MergeTreeReadPoolParallelReplicasInOrder` to consume less memory during reading
2024-12-03 22:01:00 +00:00
Nikita Taranov
13b48a4020
Merge pull request #72190 from filimonov/patch-12
Respect `prefer_locahost_replica` in `parallel_distributed_insert_select`
2024-12-03 21:58:30 +00:00
Azat Khuzhin
50fc0359b9 Ignore only ErrnoException/fs::filesystem_error while moving parts to detached
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-12-03 22:35:44 +01:00
Azat Khuzhin
12bb273beb Do not ignore error during moving parts to detached for MergeTree
MergeTree is fragile in this case, since the source of truth for it is
the filesystem and it will be left in an inconsistent state.

Image the following:
- during startup you got some broken part, that should be moved to
  detached
- this rename throws exception (i.e. permission error)
- but this error is ignored, server continues, and tries to merge
  something that produces intersecting parts for that broken part
- later on restart you will got intersecting parts (since at the time of
  scanning for intersecting parts, the part is not checked)

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
Co-authored-by: Alexander Tokmakov <tavplubix@clickhouse.com>
2024-12-03 22:35:43 +01:00
Azat Khuzhin
86f657ffc6 Adjust error message about intersecting parts (remove ZooKeeper note from common code)
It could happen for MergeTree as well.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-12-03 22:34:46 +01:00
Alexander Gololobov
4ccbe8f1cc Test for primary index cache size with LowCardinality columns 2024-12-03 22:30:21 +01:00
Alexander Gololobov
d65dd866c6
Merge pull request #72749 from ClickHouse/fix_mark_cache_drop
Fix unneeded blocking of context while dropping mark cache
2024-12-03 20:47:07 +00:00
avogar
9e730e4206 Support Dynamic type in functions ifNull and coalesce 2024-12-03 20:41:25 +00:00
Yarik Briukhovetskyi
72e19cbbcb
Update QueryTreeBuilder.cpp 2024-12-03 21:12:23 +01:00
Yarik Briukhovetskyi
db15390ab4
Add lowercase support. 2024-12-03 20:53:39 +01:00
Igor Nikonov
678f4c02df Merge remote-tracking branch 'origin/master' into pr-fix-setting-history 2024-12-03 19:42:35 +00:00
Igor Nikonov
4df0603c58 Fix 2024-12-03 19:42:31 +00:00
Yarik Briukhovetskyi
d6480b846c
Fix run issues 2024-12-03 20:30:06 +01:00
Nikita Taranov
a71c00000b impl 2024-12-03 20:12:51 +01:00
Raúl Marín
506733db92
Merge pull request #72217 from Algunenano/remove_trash_from_contrib
Remove some unused files from contrib deps
2024-12-03 19:11:30 +00:00
Yarik Briukhovetskyi
59d5e57d5d
Update 03275_ignore_nonexistent_files_fix.sql 2024-12-03 19:40:33 +01:00
Raúl Marín
1bea990a73 One more 2024-12-03 19:25:11 +01:00
Nikolai Kochetov
5be41d489d
Merge pull request #72735 from ClickHouse/fix-y-shaped-join-context
Fix context lifetime for Y-shaped join.
2024-12-03 17:42:35 +00:00
Yarik Briukhovetskyi
b8f1110455
Update QueryTreeBuilder.cpp 2024-12-03 18:36:08 +01:00
kssenii
7bee0a4872 Speed up the test 2024-12-03 18:29:50 +01:00
Yarik Briukhovetskyi
4405416ee3
Add tests for aliases 2024-12-03 18:24:36 +01:00
Alexander Gololobov
c5779654e8
Update size in test 2024-12-03 18:23:37 +01:00
Yarik Briukhovetskyi
ecd6282af5
Update AggregateFunctionGroupConcat.h 2024-12-03 18:18:59 +01:00
kssenii
bd284fbb0d Add a test 2024-12-03 18:17:25 +01:00
Yarik Briukhovetskyi
525a2de94f
Add pragma once 2024-12-03 18:09:58 +01:00
Yarik Briukhovetskyi
9dc3703bce
Add missing errorCodes 2024-12-03 17:55:29 +01:00
Vitaly Baranov
baa65c86cf Support parsing GCS S3 error "AuthenticationRequired". 2024-12-03 17:49:40 +01:00
Nikolai Kochetov
4dffdf525d Update test result. 2024-12-03 16:43:30 +00:00
Yarik Briukhovetskyi
c04a28d009
Change the logic to use analyzer 2024-12-03 17:31:45 +01:00
Alexander Gololobov
9ba2953472 More accurate PK size calculation 2024-12-03 17:10:43 +01:00
Alexander Gololobov
6bcdab413a Clear other caches without context lock as well 2024-12-03 17:00:57 +01:00
Alexander Gololobov
d879fcfc9e Fix unneeded blocking of context while dropping mark cache 2024-12-03 16:41:07 +01:00
divanik
f1219d3e8e Merge branch 'master' of github.com:ClickHouse/ClickHouse into divanik/add_schema_evolution_concise 2024-12-03 15:27:45 +00:00
kssenii
5144fec1b0 Fix typo 2024-12-03 16:18:29 +01:00
Nikolai Kochetov
c00a85a601 Merge branch 'master' into query-plan-serialization-steps 2024-12-03 16:16:01 +01:00
Nikolai Kochetov
6cc668bd88 Add serializetion to some query plan steps. 2024-12-03 15:00:05 +00:00
Vitaly Baranov
8c6c7f5f7d Remove the trivial copy constructor in IAST::FormatSettings. 2024-12-03 15:46:29 +01:00
divanik
1ed7ea74b2 Remove unnecessary changes 2024-12-03 14:34:16 +00:00
divanik
7e293d392b Remove unnecessary changes 2024-12-03 14:31:59 +00:00
divanik
be7a3bbf6e Fix bugs 2024-12-03 14:22:00 +00:00
Dmitry Novik
854b72ade2
Merge pull request #72608 from ClickHouse/analyzer-array-join-fix
Analyzer: Proper fix for distributed ARRAY JOINs
2024-12-03 14:07:32 +00:00
Konstantin Bogdanov
d9b1665327
Update rust_vendor submodule 2024-12-03 14:58:56 +01:00
Raúl Marín
7b912e557f
Update CMakeLists.txt 2024-12-03 14:52:17 +01:00
Vladimir Cherkasov
d7acd3db93
Merge pull request #69910 from ClickHouse/vdimir/residual_join_conditions
Non-experimental non-equi join conditions
2024-12-03 13:48:31 +00:00
Raúl Marín
2bdb713798 Missing include 2024-12-03 14:47:25 +01:00
Vladimir Cherkasov
902a42fead
Merge branch 'master' into ch-disks-remove 2024-12-03 14:23:17 +01:00