Commit Graph

16963 Commits

Author SHA1 Message Date
Nikolay Degterinsky
dae84a0f1e Try to fix segfault in HDFS 2024-04-11 21:58:46 +00:00
Nikita Taranov
3ce02239c6
Revert "More optimal loading of marks" 2024-04-11 23:12:11 +02:00
Alexander Tokmakov
55c510563c Merge branch 'master' into cannot_allocate_thread 2024-04-11 23:06:17 +02:00
Alexander Tokmakov
c1c7cf56bd
Revert "[feature]: allow to attach parts from a different disk" 2024-04-11 13:43:51 +02:00
helifu
7db140c6b3 Fix a bug moving one partition from one to itself 2024-04-11 14:03:42 +08:00
Alexander Tokmakov
d8e97b51bf Merge branch 'master' into cannot_allocate_thread 2024-04-10 21:21:42 +02:00
Alexander Tokmakov
a691d30177
Merge pull request #61610 from ClickHouse/fix-data-race-between-move-partition-and-merges
Cancel merges before removing moved parts
2024-04-10 18:19:42 +00:00
Murat Khairulin
9783ae2a82 Fix style 2024-04-10 21:59:14 +05:00
Murat Khairulin
f06dca1a50 Fix primary key in materialized view 2024-04-10 21:59:14 +05:00
Raúl Marín
11d2fbcf49 Don't use virtual columns to filter if they have been overwritten 2024-04-10 18:17:29 +02:00
Nikita Taranov
0bd3d5d2bd
Merge branch 'master' into stronger_optimize_final_with_rmt 2024-04-10 17:38:25 +02:00
Anton Popov
4a8c1bf6a3
Merge pull request #62306 from CurtizJ/azure-retryable-errors
Better handling of errors from azure storage
2024-04-10 13:38:33 +00:00
Igor Nikonov
ffc40464c5
Merge pull request #62408 from ClickHouse/add-part-name-in-check-part-exception
Add part name to check part exception message
2024-04-10 11:39:58 +00:00
Yarik Briukhovetskyi
957c58ce28
Merge pull request #62039 from zhongyuankai/memory_table_modify_setting
Support ALTER MODIFY SETTING for Memory tables
2024-04-10 10:55:01 +00:00
Nikolai Kochetov
25d64d490a
Merge pull request #62409 from ClickHouse/fix-global-in-table-with-analyzer
Fix GLOBAL IN table queries with analyzer.
2024-04-10 07:04:21 +00:00
Robert Schulze
8167b774b5
Merge pull request #62307 from rschu1ze/cleanup-ssh
Cleanup SSH-based authentication code
2024-04-09 21:10:09 +00:00
Alexander Tokmakov
8f423b9fd4
Merge pull request #62421 from ClickHouse/tavplubix-patch-13
Update StorageFileLog.cpp
2024-04-09 20:41:28 +00: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
serxa
1b20bb8e34 do not wait under locks 2024-04-09 14:05:09 +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
Nikolai Kochetov
bba66eb05a Review fixes. 2024-04-09 12:30:07 +00:00
Robert Schulze
4035334634
Merge remote-tracking branch 'rschu1ze/master' into static-instance2 2024-04-09 11:45:27 +00:00
Igor Nikonov
4c106b2d0c Merge remote-tracking branch 'origin/master' into add-part-name-in-check-part-exception 2024-04-09 11:41:12 +00:00
Kruglov Pavel
057efdb447
Merge pull request #62398 from Avogar/fix-analyzer-merge-push-down
Fix filter pushdown from additional_table_filters in Merge engine in analyzer
2024-04-09 10:54:06 +00:00
avogar
9628874ac1 Better 2024-04-09 10:40:40 +00:00
Kruglov Pavel
16cdd067e3
Fix bad conflict resolution 2024-04-08 22:34:35 +02:00
avogar
ef518946f3 Respect settings truncate_on_insert/create_new_file_on_insert in s3/hdfs/azure engines 2024-04-08 20:18:47 +00:00
Nikita Mikhaylov
6b3ed64d3e
Merge pull request #61232 from ClickHouse/optimize-wait-for-outdated-parts
Do nothing in `waitForOutdatedPartsToBeLoaded()` if loading is not required
2024-04-08 19:20:33 +00:00
serxa
cc38765cda fix build 2024-04-08 18:59:19 +00:00
Alexander Tokmakov
9a08f1ddd6
Update StorageFileLog.cpp 2024-04-08 20:53:19 +02:00
serxa
8960a7f08d Add back-pressure for MOVE PARTITION TO TABLE as for INSERTs 2024-04-08 18:05:05 +00:00
Yarik Briukhovetskyi
6277deb166
small fixes 2024-04-08 17:59:54 +02:00
Nikolai Kochetov
b97e16f2b4
Merge bcccbe2b19 into c369d2171d 2024-04-08 16:54:43 +02:00
Nikolai Kochetov
82b2adef97 Fix GLOBAL IN table queries with analyzer. 2024-04-08 14:50:13 +00:00
Alexander Tokmakov
a73d927990
Merge pull request #61882 from ClickHouse/less_unformatted_exceptions
Fix 00002_log_and_exception_messages_formatting
2024-04-08 14:44:32 +00:00
Alexander Tokmakov
b6aff78bf5 fix 2024-04-08 16:13:46 +02:00
Igor Nikonov
8ac9cbd80d Add part name to check part exception message 2024-04-08 14:13:43 +00:00
avogar
e4b0ca5d83 Fix filter pushdown from additional_table_filters in Merge engine in analyzer 2024-04-08 12:59:20 +00:00
vdimir
b0ede03bf1
Merge pull request #62318 from azat/mt/detached-const
Use DETACHED_DIR_NAME everywhere
2024-04-08 14:16:13 +02:00
Alexander Gololobov
98ec4d7a70
Merge pull request #62127 from ClickHouse/y2k_system_replicas_2
More than 255 replicas in ReplicatedTableStatus
2024-04-08 13:45:43 +02:00
Kruglov Pavel
a2cfc80a39
Merge pull request #61984 from kitaisreal/arrow-schema-to-clickhouse-schema-nullable-fix
Arrow schema to ClickHouse schema Nullable fix
2024-04-08 12:53:49 +02:00
Alexander Tokmakov
57985d9fb4
Merge pull request #62367 from ClickHouse/experimental_conflict
Disable window view with analyzer properly
2024-04-08 11:00:42 +02:00
Alexander Tokmakov
373bf49684 fix 2024-04-07 20:05:41 +02:00
Maksim Kita
bbe8e2d751 Arrow schema to ClickHouse schema Nullable fix 2024-04-07 20:35:27 +03: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
Alexander Tokmakov
982d3db5b1 disable window view with analyzer properly 2024-04-06 21:51:28 +02:00
zhongyuankai
2573fb6262 batter 2024-04-06 20:42:27 +08:00
Anton Popov
fa01f26def add test 2024-04-05 17:39:12 +00:00
Nikolai Kochetov
0aa64eacd6
Merge pull request #62248 from ClickHouse/fix-generage-random-seed-analyzer
Fixing NULL random seed for generateRandom with analyzer.
2024-04-05 18:39:06 +02:00
Arthur Passos
c2517fb0ac
Merge branch 'ClickHouse:master' into forbid_attach_table_duplicated_replica_path 2024-04-05 13:01:10 -03:00
Azat Khuzhin
6e413223c2 Use DETACHED_DIR_NAME everywhere
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-04-05 17:49:38 +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
Vitaly Baranov
3012e4bc27
Merge pull request #62207 from vitlibar/fix-restoring-parts-while-readonly
Fix restoring parts while readonly
2024-04-05 13:57:27 +02: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
Robert Schulze
9d8f643f5b
Cleanup SSH-based authentication code 2024-04-05 08:43:23 +00:00
Alexander Tokmakov
5db9fbed52 cancel tasks on exception 2024-04-04 22:32:57 +02:00
Vitaly Baranov
d7b7e7e790 Improve comment. 2024-04-04 22:09:21 +02:00
Anton Popov
d7fb851d17 better handling of errors from azure storage 2024-04-04 19:53:58 +00:00
Raúl Marín
1f1a0ff7d4
Merge pull request #62232 from Algunenano/paranoid
Include table name in paranoid checks
2024-04-04 16:27:35 +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
Antonio Andelic
6197a62f0f
Merge pull request #62175 from ClickHouse/user-specific-s3-backup-on-cluster
User specific S3 endpoint for Backup/Restore on cluster
2024-04-04 12:46:29 +02:00
Raúl Marín
276246ee97 Introduce IAggregateFunction_fwd to reduce header dependencies 2024-04-04 12:29:54 +02:00
Robert Schulze
9626506585
More fixes 2024-04-03 19:18:31 +00:00
Alexander Tokmakov
c53b20a770 fix 2024-04-03 20:57:12 +02: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
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
Nikolai Kochetov
aaf9bb0e58 Fixing NULL random seed for generateRandom with analyzer. 2024-04-03 13:12:05 +00:00
vdimir
2c569b0d46
fix 2024-04-03 11:52:55 +00:00
Raúl Marín
c943018025 Include table name in paranoid checks 2024-04-03 13:00:25 +02:00
vdimir
e693418f63
Fix crash in index definition containing sql udf 2024-04-03 10:45:45 +00: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
44cea8b171
Merge pull request #62159 from Algunenano/private_planner
Unify lightweight mutation control
2024-04-03 11:51:14 +02:00
serxa
3c0131e992 Merge branch 'master' into optimize-wait-for-outdated-parts 2024-04-03 09:28:12 +00:00
János Benjamin Antal
34c5fbd4cf Fix style 2024-04-03 07:53:28 +00:00
Antonio Andelic
cc31b837f2 User specific S3 endpoint backup/restore ON CLUSTER 2024-04-03 08:55:56 +02:00
Vitaly Baranov
44fa62c0a4 Add test. 2024-04-02 23:44:49 +02:00
Alexander Gololobov
170f50e095 More than 255 replicas in ReplicatedTableStatus 2024-04-02 18:29:47 +02:00
vdimir
f1345723d0
Merge pull request #61972 from ClickHouse/vdimir/storage_join_load_order
Fix storage join files loading order
2024-04-02 17:08:08 +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
János Benjamin Antal
68320590ed Wait for currently executing operations 2024-04-02 10:48:57 +00:00
János Benjamin Antal
5f676999ed Address review comments 2024-04-02 10:48:08 +00:00
Raúl Marín
48ab0721a8 Unify lightweight mutation control 2024-04-02 11:52:14 +02:00
Sergei Trifonov
68faa1ab9e
Merge pull request #61867 from azat/dist/connection-race
Fix possible connections data-race for distributed_foreground_insert/distributed_background_insert_batch
2024-04-02 10:15:11 +02:00
JackyWoo
b2b9706ba2 Add query progress to table zookeeper 2024-04-02 16:07:18 +08:00
Raúl Marín
83c050ad36
Merge pull request #62135 from Algunenano/revert_optimize_single_in
Revert "Merge pull request #61564 from liuneng1994/optimize_in_single_value"
2024-04-01 18:55:16 +02:00
Anton Popov
afa5665daf
Merge pull request #60676 from CurtizJ/add-virtual-columns
Add virtual columns `_block_offset` and `_data_version` for `MergeTree` tables
2024-04-01 18:35:36 +02:00
Anton Popov
0c25ea2230
Merge pull request #61551 from CurtizJ/better-marks-loading
More optimal loading of marks
2024-04-01 18:31:01 +02:00
vdimir
e5f218c4cc
Merge branch 'master' into vdimir/storage_join_load_order 2024-04-01 14:15:01 +02:00
Raúl Marín
b2e764f633 Revert "Merge pull request #61564 from liuneng1994/optimize_in_single_value"
This reverts commit 20a45b4073, reversing
changes made to a642f4d3ec.
2024-04-01 13:51:56 +02:00
Alexander Gololobov
c297e72a4d
Merge pull request #61784 from ClickHouse/stream_system_replicas
Stream rows when reading from system.replicas
2024-04-01 09:47:55 +02:00
zhongyuankai
9b1b81d921 add tests 2024-04-01 11:55:22 +08:00
jsc0218
6253454f17
Merge pull request #62082 from jsc0218/RemoveDeadCodeInMergeTreeSelectProcessor
Remove Dead Code
2024-03-31 21:19:51 -04:00
Alexander Gololobov
0997b18abe
Merge pull request #62064 from ClickHouse/y2k_system_replicas
Support more that 255 replicas in system table
2024-03-31 15:58:44 +02:00
Ilya Golshtein
6b9b597051
Crash in Engine Merge if Row Policy does not have expression (#61971) 2024-03-30 14:34:01 -04:00
Nikolay Degterinsky
ee42ea97f2
Merge pull request #62040 from azat/rmt/create-from-replica
Fix CREATE TABLE w/o columns definition for ReplicatedMergeTree
2024-03-30 02:27:46 +01:00
Vitaly Baranov
b0865cf2e3 Fix restoring parts while a storage is readonly. 2024-03-30 00:14:03 +01:00
jsc0218
ba62b01f4d remove dead code 2024-03-29 02:23:53 +00:00