Commit Graph

160211 Commits

Author SHA1 Message Date
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
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
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
kssenii
7bee0a4872 Speed up the test 2024-12-03 18:29:50 +01:00
Alexander Gololobov
c5779654e8
Update size in test 2024-12-03 18:23:37 +01:00
kssenii
bd284fbb0d Add a test 2024-12-03 18:17:25 +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
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
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
Pavel Kruglov
a433dea0ea
Merge pull request #72660 from ClickHouse/doc-mysql-settings
Documentation: add reference to relevant settings for mysql table function
2024-12-03 13:21:25 +00:00
Raúl Marín
ca5a1463e2 Update setting changes with master 2024-12-03 14:05:03 +01:00
kssenii
599218849c Fix no-such-key in s3queue 2024-12-03 13:56:13 +01:00
divanik
c71519d9e9 Replace weak with strong 2024-12-03 12:49:49 +00:00
Raúl Marín
5a3ecbd231 Merge remote-tracking branch 'blessed/master' into settings_checks 2024-12-03 13:45:37 +01:00
divanik
3486baade8 Intermediate commit 2024-12-03 12:39:28 +00:00
Raúl Marín
fa7db13d0c Missing include 2024-12-03 13:19:43 +01:00
Antonio Andelic
340b0a9860 Fix style 2024-12-03 13:18:52 +01:00
Daniil Ivanik
6262bfdc87
Merge pull request #72652 from pakud/patch-2
Adding example for JSONExtract which refers to a nested entry in JSON
2024-12-03 12:14:51 +00:00
Raúl Marín
0d91a9b60c Use an Enum for type in system.settings_changes 2024-12-03 13:13:05 +01:00
Michael Kolupaev
2e4bb820ad Unbreak parallel tests 2024-12-03 11:20:34 +00:00