Commit Graph

17020 Commits

Author SHA1 Message Date
Nikolai Kochetov
01d8dda773 Fix PREWHERE for StorageBuffer with different source table column types. 2024-04-24 15:07:14 +00:00
Robert Schulze
56e32e0f99
Rename MergeTreeIndexInverted* to MergeTreeIndexFullText* 2024-04-24 07:20:08 +00:00
Robert Schulze
0ae422d33c
Rename MergeTreeIndexFullText --> MergeTreeIndexBloomFilterText 2024-04-23 14:17:54 +00:00
Robert Schulze
f0faac2e8b
Move MergeTree*BloomFilter into the same header/source file 2024-04-23 14:02:26 +00:00
Amos Bird
d44062edb2
Fix LowCardinality(Nullable) key in hyperrectangle 2024-04-23 15:24:28 +08:00
Nikita Taranov
aaaff1f2ea
Merge pull request #62067 from nickitat/stronger_optimize_final_with_rmt
Wait for currently active merges when executing `OPTIMIZE FINAL` on RMT
2024-04-22 19:54:48 +00:00
Nikita Taranov
28c4ce1a67
Merge pull request #61876 from arthurpassos/forbid_attach_table_duplicated_replica_path
Do not allow table to be attached if there already is an active replica path
2024-04-22 19:44:20 +00:00
Alexey Milovidov
788e4d35ee
Merge pull request #62813 from ClickHouse/kafka-log-consumer-id-with-librdkafka-logs
Add `client.id` to librdkafka logs
2024-04-20 21:06:14 +00:00
János Benjamin Antal
e5ca964808 Add client.id to librdkafka logs 2024-04-20 10:42:27 +00:00
Alexey Milovidov
968d8b7ee5
Merge pull request #62152 from JackyWoo/add_query_progress_to_table_zookeeper
Add query progress to table zookeeper
2024-04-20 00:48:31 +00:00
Anton Popov
260647a309
Merge pull request #62762 from CurtizJ/fix-merge-tree-index-crash
Fix crash in function `mergeTreeIndex`
2024-04-19 11:53:02 +00:00
Pablo Marcos
c28af20e2a Merge branch 'master' into pamarcos/system-unload-primary-key 2024-04-18 17:53:11 +02:00
Anton Popov
d6a7fa315e fix crash in function mergeTreeIndex 2024-04-18 14:46:58 +00:00
jsc0218
7525b2acf4
Merge pull request #60117 from jsc0218/TableEngineGrant_version2
TableEngineGrant_version2
2024-04-18 14:30:34 +00:00
Arthur Passos
a852855a2d
Merge branch 'ClickHouse:master' into forbid_attach_table_duplicated_replica_path 2024-04-18 09:27:07 -03:00
Pablo Marcos
556932706b Add SYSTEM UNLOAD PRIMARY KEY 2024-04-17 21:24:59 +02:00
János Benjamin Antal
8336f8688a Merge remote-tracking branch 'origin/master' into prevent-renaming-important-columns 2024-04-17 14:44:57 +00:00
Yarik Briukhovetskyi
a3dcb1963f
Merge pull request #62524 from helifu/master
Fix a bug moving one partition from one to itself
2024-04-17 12:20:17 +00:00
Robert Schulze
2b23c7cc30
Change query cache keys from ASTs to AST hashes 2024-04-16 09:27:20 +00:00
JackyWoo
59f061c194 Merge branch 'master' into add_query_progress_to_table_zookeeper 2024-04-16 15:09:44 +08:00
Alexander Gololobov
ea42c98dd7
Merge pull request #62613 from ClickHouse/stream_system_remote_data_paths
Stream chunks from system.remote_data_paths
2024-04-16 05:27:08 +00:00
Alexander Gololobov
5590b26c2b
typo 2024-04-15 23:38:45 +01:00
Alexander Gololobov
e53752db04
Simplify
Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
2024-04-15 23:35:42 +01:00
Alexander Gololobov
0265fabfca
typo
Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
2024-04-15 23:33:58 +01:00
Sema Checherinda
59369e99c5
Merge pull request #62648 from ClickHouse/chesema-s3-function
set correct defaults for s3 storage and backups
2024-04-15 15:12:31 +00:00
Robert Schulze
2a3b5bd74d
Merge pull request #58956 from AVMusorin/kafka-settings
Separate consumer/producer settings for Kafka
2024-04-15 15:11:19 +00:00
Nikolay Degterinsky
0a2d7a8d93 Merge remote-tracking branch 'upstream/master' into hive-segfault 2024-04-15 12:50:47 +00:00
Alexander Tokmakov
3ddf3e3d5f
Merge pull request #61976 from azat/rmt/stop-merges-primarily
Check for "SYSTEM STOP MERGES" primarily for MERGE_PARTS/MUTATE_PART
2024-04-15 12:21:22 +00:00
Sema Checherinda
b18d3febb7 set correct defaults for s3 storage and backups 2024-04-15 13:03:55 +02:00
Kruglov Pavel
c458920ee5
Merge pull request #62425 from Avogar/fix-partitioned-write
Respect settings truncate_on_insert/create_new_file_on_insert in s3/hdfs/azure engines during partitioned write
2024-04-15 10:29:18 +00:00
jsc0218
b6cfba33f1
Merge pull request #62319 from mxwell/materialized_prim_key
Fix primary key in materialized view
2024-04-13 03:37:20 +00:00
Alexander Gololobov
2a2ae399db Use disk name from DisksMap 2024-04-12 22:11:58 +02:00
Alexander Gololobov
52efa7c286 style fix 2024-04-12 18:49:09 +02:00
Alexander Gololobov
69bc0b9176 Stream chunks from system.remote_data_paths 2024-04-12 18:33:58 +02:00
Alexander Tokmakov
d510c3ac55
Merge pull request #62266 from ClickHouse/cannot_allocate_thread
Add fault injection for "Cannot allocate thread"
2024-04-12 14:40:42 +00:00
Nikita Taranov
17315e53b8
Merge pull request #62577 from ClickHouse/revert-61551-better-marks-loading
Revert "More optimal loading of marks"
2024-04-12 13:00:20 +00:00
Kruglov Pavel
ce7432424e
Merge branch 'master' into trivial-insert-select-from-files 2024-04-12 14:26:48 +02:00
avogar
cae7cbf65c Better function name 2024-04-12 14:26:18 +02:00
Kruglov Pavel
eaa436ae9e
Update src/Storages/StorageS3.cpp
Co-authored-by: Kseniia Sumarokova <54203879+kssenii@users.noreply.github.com>
2024-04-12 14:23:39 +02:00
Alexander Tokmakov
b5ff1c0a6e
Merge branch 'master' into cannot_allocate_thread 2024-04-12 13:35:14 +02:00
helifu
a52d77b625 Add a test case 2024-04-12 18:23:15 +08:00
Raúl Marín
1ae8a9fc6f
Merge pull request #62180 from Algunenano/i35215
Add test for #35215
2024-04-11 22:16:21 +00:00
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
János Benjamin Antal
78c34916f9 Fix incorrect error when no special columns are specified 2024-04-11 13:44:23 +00:00
Alexander Tokmakov
c1c7cf56bd
Revert "[feature]: allow to attach parts from a different disk" 2024-04-11 13:43:51 +02:00
János Benjamin Antal
583bdff2bc Abandon validating the special columns of SummingMergeTree, as they are way more complex 2024-04-11 10:57:33 +00:00
János Benjamin Antal
ce457e7625 Add checks to prevent using the same column for multiple special columns 2024-04-11 09:01:14 +00: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
János Benjamin Antal
dc07496fd6 Fix validation of special MergeTree columns 2024-04-10 15:45:03 +00: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
Kruglov Pavel
c2d432be20
Merge branch 'master' into trivial-insert-select-from-files 2024-04-08 15:57:28 +02:00
avogar
ed6e4fbe16 Improve trivial insert select from files, add separate max_parsing_threads setting 2024-04-08 13:56:15 +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