Commit Graph

66794 Commits

Author SHA1 Message Date
Michael Kolupaev
29aed6a586 Fix compatibility with refreshable materialized views created by old clickhouse servers 2024-11-06 23:39:01 +00:00
Yakov Olkhovskiy
170b787232 Merge branch 'master' into default_enable_job_stack_trace 2024-11-06 22:36:58 +00:00
Alexey Milovidov
304b9190f3
Merge pull request #71320 from Avogar/tuple-to-json
Implement simple CAST from Map/Tuple/Object to new JSON through serialization/deserialization from JSON string
2024-11-06 22:27:18 +00:00
Alexey Milovidov
5d367d4ae4
Merge pull request #71494 from Algunenano/sort_cursor_crash
Prevent crash in SortCursor with 0 columns
2024-11-06 22:24:22 +00:00
Shichao Jin
f5033308fe
Merge branch 'master' into LessReadInOrder 2024-11-06 16:38:12 -05:00
Pablo Marcos
9cdd56abbc Reduce the general critical section for query_metric_log
- Use a separate mutex for each query to reduce the contention
period for queries_mutex.

- Refactor to use std::mutex instead of std::recursive_mutex
for queries_mutex.

- In case we're running late to schedule the next task, schedule
it immediately.

- Fix LockGuard because unlocking twice is undefined behavior.
2024-11-06 20:52:54 +00:00
Robert Schulze
c052be0192
Merge remote-tracking branch 'ClickHouse/master' into fix-insert-assert 2024-11-06 19:45:11 +00:00
Dmitry Novik
7493900464
Merge pull request #71509 from joelynch/joelynch/grants-docs
Fix documentation for system.grants.is_partial_revoke
2024-11-06 19:34:25 +00:00
Raúl Marín
dd5061a4d3
Merge pull request #71527 from ClickHouse/revert-68682-vdimir/join_select_inner_table
Revert "Selection of hash join inner table"
2024-11-06 19:24:44 +00:00
Raúl Marín
de21dde4cf Avoid crash when using UDF in a constraint 2024-11-06 19:26:39 +01:00
Robert Schulze
070bfc81ee
Merge pull request #71525 from rschu1ze/non-experimental-analyzer
Minor: Remove "experimental" mention of analyzer
2024-11-06 17:49:12 +00:00
Nikolai Kochetov
4ad8273e5f Enable merge filters optimization. 2024-11-06 17:31:24 +00:00
Maksim Kita
530c04413e Analyzer materialized view IN with CTE fix 2024-11-06 19:59:41 +03:00
alesapin
a0013e0a96
Merge pull request #71524 from ClickHouse/add_metrics_for_merge_selector
Add ProfileEvents for merge selector timings
2024-11-06 16:15:23 +00:00
Sema Checherinda
df632b6f1e clean up 2024-11-06 16:44:52 +01:00
Raúl Marín
4e30cf7e33 Cleanup SettingsChangesHistory for revert 2024-11-06 16:30:16 +01:00
Raúl Marín
12ab488453
Revert "Selection of hash join inner table" 2024-11-06 16:20:57 +01:00
avogar
020b69647a Fix counting column size in wide part for Dynamid and JSON types 2024-11-06 15:15:29 +00:00
Robert Schulze
15337692e6
Minor: Remove "experimental" mention of analyzer 2024-11-06 15:10:10 +00:00
alesapin
8fc61fec44 Merge branch 'add_metrics_for_merge_selector' of github.com:ClickHouse/ClickHouse into add_metrics_for_merge_selector 2024-11-06 16:00:40 +01:00
alesapin
33bd082149 Followup 2024-11-06 16:00:25 +01:00
Mikhail Artemenko
69dcd96bd3 Merge branch 'master' into issues/71020/staleness 2024-11-06 14:43:38 +00:00
Dmitry Novik
7795d43055 Analyzer: Check what happens after if-condition removal 2024-11-06 15:03:51 +01:00
Alexander Gololobov
afb92f04e6
Added ms 2024-11-06 14:56:30 +01:00
Kseniia Sumarokova
1756fe28ee
Merge pull request #71348 from ClickHouse/filecache-more-assertions
fs cache: add assertions
2024-11-06 13:54:28 +00:00
alesapin
4e3bde2460 Add ProfileEvents for merge selector timings 2024-11-06 14:52:59 +01:00
Sema Checherinda
338af374d8 remove the method remove in favor of the method removeIfExists 2024-11-06 14:35:24 +01:00
Denny Crane
533009b914
Update AlterCommands.cpp 2024-11-06 08:57:32 -04:00
Joe Lynch
7c6472a090
Fix documentation for system.grants.is_partial_revoke 2024-11-06 13:34:39 +01:00
Nikolai Kochetov
b1eff04e96
Merge pull request #71476 from ClickHouse/fix-old-analyzer-const-expr-regression
Fix constants in WHERE expression which could apparently contain Join.
2024-11-06 12:05:45 +00:00
Robert Schulze
f0bb69f126
Simplify more 2024-11-06 11:46:49 +00:00
Mikhail Artemenko
3d7c560a25 Merge branch 'master' into issues/71020/staleness 2024-11-06 11:16:42 +00:00
Nikita Taranov
bac948ec0e
Merge pull request #71224 from ClickHouse/fix_parallel_replicas_complex_subqueries
Fix `WITH TOTALS` in subquery with parallel replicas
2024-11-06 11:15:45 +00:00
0xMihalich
565c3b8cd4
Merge branch 'ClickHouse:master' into patch-1 2024-11-06 21:14:40 +10:00
Anton Popov
cbc4659ed5
Merge pull request #71474 from CurtizJ/fix-memory-usage-delayed-streams
Fix memory usage in inserts with delayed streams
2024-11-06 10:41:03 +00:00
Vladimir Cherkasov
236837525b
Merge pull request #71365 from ClickHouse/vdimir/debugtooslow
More info in TOO_SLOW exception
2024-11-06 10:12:11 +00:00
Kseniia Sumarokova
b38dc1d8ca
Update FileCache.cpp 2024-11-06 11:05:43 +01:00
Robert Schulze
4f8099d7aa
Simplify the code 2024-11-06 08:52:33 +00:00
taiyang-li
127f324822 add uts 2024-11-06 15:03:41 +08:00
nauu
6a8df5ea89 support the endpoint of oss accelerator 2024-11-06 14:57:14 +08:00
0xMihalich
141d4932c5
Merge branch 'ClickHouse:master' into patch-1 2024-11-06 15:44:15 +10:00
taiyang-li
c23dfa3431 fix uninitialized orc data 2024-11-06 12:33:26 +08:00
alesapin
24c5ef9a05 Expose base setting for merge selector 2024-11-05 23:08:15 +01:00
Raúl Marín
d7da086a2e Fix tidy 2024-11-05 20:50:05 +01:00
Raúl Marín
9ec0dda6ee Prevent crash in SortCursor with 0 columns 2024-11-05 20:40:32 +01:00
Vladimir Cherkasov
54a1b1c573
Merge pull request #71426 from ClickHouse/vdimir/fix_mongodb_argumetns_crash
Fix crash in mongodb table function
2024-11-05 17:56:42 +00:00
Nikolai Kochetov
76683d021d Fix constants in WHERE expression which could apparently contain Join. 2024-11-05 17:22:08 +00:00
Igor Nikonov
6abe8e7eb6
Merge pull request #70171 from ClickHouse/pr-enable-local-plan
Parallel replicas: use local plan for local replica by default
2024-11-05 17:21:39 +00:00
Daniil Ivanik
2d9d3b5a08
Merge pull request #71012 from ClickHouse/divanik/data_lake_refactoring2
Refactor DataLakeStorage
2024-11-05 16:43:15 +00:00
Vladimir Cherkasov
6c63587f77 More info in TOO_SLOW exception 2024-11-05 16:41:10 +01:00
Anton Popov
c16e1f021b fix memory usage in inserts with delayed streams 2024-11-05 14:59:09 +00:00
vdimir
5152984bb1
upd src/TableFunctions/TableFunctionMongoDB.h 2024-11-05 13:52:14 +00:00
Igor Nikonov
8b1ea5425d
Merge branch 'master' into pr-enable-local-plan 2024-11-05 14:15:59 +01:00
Kseniia Sumarokova
d7886c8d46
Merge branch 'master' into filecache-more-assertions 2024-11-05 13:39:48 +01:00
kssenii
df16fedbba Merge remote-tracking branch 'origin/filecache-more-assertions' into filecache-more-assertions 2024-11-05 13:37:35 +01:00
kssenii
d7977f0b91 More correct assertion 2024-11-05 13:36:27 +01:00
vdimir
bbe28d45bf
fix 2024-11-05 12:33:25 +00:00
kssenii
ef28dbe7d9 Merge remote-tracking branch 'origin/master' into filecache-more-assertions 2024-11-05 12:42:23 +01:00
Raúl Marín
097fb78a6e Merge remote-tracking branch 'blessed/master' into i71382 2024-11-05 12:36:37 +01:00
Raúl Marín
8c2d1ec7f8 Allow ExecuteScalarSubqueriesVisitor on ARRAY JOIN 2024-11-05 12:36:35 +01:00
Robert Schulze
0cc8626279
Fix assert during insert into vector similarity index in presence of other skipping indexes 2024-11-05 11:34:47 +00:00
Kseniia Sumarokova
d04cd085ca
Merge pull request #70806 from ClickHouse/disable-fs-cache-background-download-for-metadata-files
Allow to disable background cache download for loading metadata files
2024-11-05 11:22:13 +00:00
Kseniia Sumarokova
8615526f20
Merge pull request #71308 from MikhailBurdukov/fix_named_collection_unescaping
Added missing unescaping in named collections names.
2024-11-05 10:51:35 +00:00
Robert Schulze
f0537200f4
Merge pull request #71405 from rschu1ze/demote-log-level-for-auth-failure
Demote log level for failed authentication
2024-11-05 06:53:38 +00:00
Yakov Olkhovskiy
d3e2d9d820
Merge pull request #70112 from ClickHouse/impl-libfuzzer-3
CI: enable libfuzzer
2024-11-05 05:44:17 +00:00
jsc0218
ab4185027c Merge remote-tracking branch 'origin/master' into LessReadInOrder 2024-11-05 00:02:09 +00:00
Christoph Wurm
a03aa7bd65 Merge remote-tracking branch 'origin' into reject_invalid_mutation_queries 2024-11-04 23:44:37 +00:00
Raúl Marín
f9f1870a0e Fix upgrade check (24.11) 2024-11-04 21:10:44 +01:00
Raúl Marín
19422e75b0 Style 2024-11-04 20:24:06 +01:00
Raúl Marín
35a0d08a32 RewriteArrayExistsFunctionVisitor: Assert proper child on join expression 2024-11-04 20:12:34 +01:00
Raúl Marín
b4a3f6d370 Make sure to update table_join children properly 2024-11-04 20:11:33 +01:00
Raúl Marín
157e1695d5 Fix ExecuteScalarSubqueriesMatcher visiting join elements 2024-11-04 20:02:57 +01:00
Anton Popov
2b417d3f85
Merge pull request #71368 from CurtizJ/better-prewarm-mark-cache
Allow to prewarm mark cache by system command without enabled setting
2024-11-04 18:10:28 +00:00
Robert Schulze
a612e9248c
Update TCPHandler.cpp 2024-11-04 18:26:02 +01:00
Robert Schulze
de751c7e4d
Update AccessControl.cpp 2024-11-04 18:25:27 +01:00
alesapin
24f35d4047
Merge pull request #71422 from ClickHouse/add_per_host_dashboard
Add per host dashboards to advanced dashboard
2024-11-04 17:01:21 +00:00
vdimir
929da1411e
Fix crash in mongodb table function 2024-11-04 16:06:20 +00:00
Kseniia Sumarokova
1d888bc1eb
Fix wrong change 2024-11-04 16:40:26 +01:00
Kseniia Sumarokova
e3bb7a38f1
Merge pull request #71261 from ClickHouse/fix-memory-usage-in-read-buffer-from-remote-fs-gather
Fix memory usage increase bug in 24.10 during remote read
2024-11-04 14:42:49 +00:00
alesapin
1976c399ca Remove redundant changes 2024-11-04 15:34:30 +01:00
alesapin
978cf9a905 Add per host dashboards to advanced dashboard 2024-11-04 15:32:55 +01:00
Vladimir Cherkasov
93b14847ac
Merge pull request #68682 from ClickHouse/vdimir/join_select_inner_table
Selection of hash join inner table
2024-11-04 14:13:44 +00:00
Kseniia Sumarokova
c8b0881c29
Merge pull request #71176 from ucasfl/remove-external-distributed
Remove StorageExternalDistributed
2024-11-04 13:24:19 +00:00
Robert Schulze
c3471ef20d
Update AccessControl.cpp 2024-11-04 13:33:34 +01:00
divanik
a37c1134b9 Resolve issues 2024-11-04 12:32:14 +00:00
divanik
5953af6a53 Merge branch 'master' of github.com:ClickHouse/ClickHouse into divanik/data_lake_refactoring2 2024-11-04 12:30:36 +00:00
Kseniia Sumarokova
9b20146d4b
Merge branch 'master' into disable-fs-cache-background-download-for-metadata-files 2024-11-04 13:21:58 +01:00
Yakov Olkhovskiy
a9f6428aec Merge branch 'master' into default_enable_job_stack_trace 2024-11-04 00:44:24 +00:00
Robert Schulze
27049f2cb5
Demote log level for failed authentication 2024-11-03 19:57:31 +00:00
Christoph Wurm
c5a46df840 Merge remote-tracking branch 'origin' into reject_invalid_mutation_queries 2024-11-03 09:43:54 +00:00
Igor Nikonov
1d83bb2dda Update settings changes history 2024-11-03 07:39:38 +00:00
Igor Nikonov
9583357662
Merge branch 'master' into fix_parallel_replicas_complex_subqueries 2024-11-02 23:06:44 +01:00
Igor Nikonov
389e917dde Merge remote-tracking branch 'origin/master' into pr-enable-local-plan 2024-11-02 19:51:03 +00:00
Nikita Mikhaylov
d5e489a6a2
Merge pull request #71380 from ClickHouse/fix-settings-history
Fix settings changes history
2024-11-02 14:43:57 +00:00
0xMihalich
a4e576924b
Fix: ERROR: column "attgenerated" does not exist for old PostgreSQL databases
Restore support for GreenPlum and older versions of PostgreSQL without affecting existing functionality.
2024-11-02 18:48:57 +10:00
Nikita Mikhaylov
436564e537
Merge pull request #71367 from ClickHouse/better-code
Fix unused variables around WorkloadEntityStorageBase
2024-11-01 19:06:18 +00:00
Vitaly Baranov
08ce37f3e9
Merge pull request #70725 from azat/http_handlers-auth
Add ability to set user/password in http_handlers
2024-11-01 19:00:15 +00:00
pufit
e2c372f8b3
Merge pull request #71332 from ClickHouse/pufit/fix-inconsistent-ast-wildcard-grants
Fix inconsistent AST formatting when granting wrong wildcard grants
2024-11-01 18:48:34 +00:00
avogar
2cc2f31d9a Fix error Invalid number of rows in Chunk with Variant column 2024-11-01 18:18:12 +00:00
Nikita Mikhaylov
207ab7728f
Merge branch 'master' into fix-settings-history 2024-11-01 19:10:23 +01:00
Igor Nikonov
18e1c3762e Merge remote-tracking branch 'origin/master' into pr-enable-local-plan 2024-11-01 17:53:45 +00:00
Vitaly Baranov
ae2eeb489d
Merge pull request #70027 from vitlibar/fix-restore-on-cluster-sync
Better error-handling and cancellation of ON CLUSTER backups and restores
2024-11-01 17:01:07 +00:00
Michael Stetsyuk
52fe2f18b0 rm metadata_version znode creation from restarting thread 2024-11-01 16:42:01 +00:00
Nikita Mikhaylov
e23dc25863 Done 2024-11-01 17:37:18 +01:00
Nikita Mikhaylov
66db317107
Merge pull request #71335 from baibaichen/fix_debug_build
Fix debug build
2024-11-01 16:15:12 +00:00
Miсhael Stetsyuk
97c0087084
Merge pull request #70297 from ClickHouse/fix-metadata-version-in-ZooKeeper-ignore-readonly
move `fixReplicaMetadataVersionIfNeeded` from attach thread to restarting thread
2024-11-01 15:55:12 +00:00
Nikita Mikhaylov
57fde54f10
Merge pull request #71250 from cwurm/missing_sources_grants
Add missing sources grants for Kafka, NATS and RabbitMQ
2024-11-01 15:08:19 +00:00
Igor Nikonov
268daafb16
Merge branch 'master' into pr-enable-local-plan 2024-11-01 15:33:27 +01:00
avogar
47ddd7fb6b Check suspicious and experimental types in JSON type hints 2024-11-01 14:33:03 +00:00
Anton Popov
7a34fbc5b2 allow to prewarm mark cache without enabled setting 2024-11-01 14:20:37 +00:00
Nikita Mikhaylov
603cb16e98 Fix build 2024-11-01 15:06:52 +01:00
Vladimir Cherkasov
c4db9a0501
Merge pull request #71014 from jirislav/increase_default_client_history_size
Make the Replxx client history size configurable
2024-11-01 14:04:00 +00:00
alesapin
bda6ff33a7
Merge pull request #71364 from ClickHouse/add_try_catch_to_destructors
Add try catch to data part destructors
2024-11-01 13:45:51 +00:00
Robert Schulze
97530704e1
Merge pull request #71254 from rschu1ze/fix-69010
Query cache: Improve handling of system table names in literals
2024-11-01 13:38:22 +00:00
Sergei Trifonov
d4f4df9dcf
Merge pull request #71325 from ClickHouse/fix-test-workload-entity-keeper-storage
Fix test `test_workload_entity_keeper_storage`: add more retries
2024-11-01 13:00:10 +00:00
Anton Popov
4569cc3b9d
Merge pull request #70977 from CurtizJ/optimize-replacing-merge-tree
Optimize `Replacing` merge algorithm for non-intersecting parts
2024-11-01 12:55:50 +00:00
alesapin
2bf510ace3
Merge pull request #71313 from ClickHouse/expose_weird_setting
Expose one more simple merge selector setting
2024-11-01 12:47:34 +00:00
alesapin
24e7fc2714 Add try catch to data part destructors 2024-11-01 13:15:15 +01:00
kssenii
e83cff7360 Fix typo 2024-11-01 12:47:03 +01:00
Nikita Mikhaylov
9d0da01ddb
Update src/Common/Scheduler/Nodes/UnifiedSchedulerNode.h 2024-11-01 12:43:38 +01:00
Christoph Wurm
9252681962 Merge remote-tracking branch 'origin' into reject_invalid_mutation_queries 2024-11-01 11:13:46 +00:00
kssenii
d0394719c6 More assertions 2024-11-01 12:11:07 +01:00
Pavel Kruglov
4d3dba21cd
Merge branch 'master' into dynamic-constraints 2024-11-01 12:06:36 +01:00
Christoph Wurm
9015454b37 Add setting 2024-11-01 11:06:21 +00:00
Pavel Kruglov
0c252de99a
Merge pull request #71182 from Avogar/json-escape-file-names
Escape special symbols in files for JSON subcolumns
2024-11-01 11:05:12 +00:00
Pavel Kruglov
dd840b3db5
Merge pull request #71183 from Avogar/fix-weak-ptr-exception-dynamic
Fix bad_weak_ptr exception with Dynamic in functions comparison
2024-11-01 11:04:49 +00:00
Pavel Kruglov
1a2b5686c4
Merge pull request #71193 from Avogar/native-http-async-insert-settings
Fix ignoring format settings in Native format via HTTP and Async Inserts
2024-11-01 11:04:32 +00:00
Pavel Kruglov
5288729d60
Merge pull request #71299 from Avogar/fix-dynamic-lc-dict
Fix reading of LowCardinality dictionary in Dynamic column
2024-11-01 11:02:00 +00:00
alesapin
9258e08bd0
Merge pull request #71319 from ClickHouse/style_fix
Better style for some sever-level settings
2024-11-01 10:35:05 +00:00
Kseniia Sumarokova
17a0f90906
Merge pull request #71321 from ClickHouse/sync-changes
Sync some changes
2024-11-01 10:33:29 +00:00
Igor Nikonov
b9f70f4bf3 Merge remote-tracking branch 'origin/master' into pr-enable-local-plan 2024-11-01 10:09:28 +00:00
pufit
7bd984ceea fix tests 2024-10-31 23:52:09 -04:00
Chang Chen
06a23c0a79 fix debug build 2024-11-01 11:43:06 +08:00
Michael Kolupaev
a77caf4214 Exempt refreshable materialized views from ignore_empty_sql_security_in_create_view_query 2024-11-01 03:42:18 +00:00
pufit
7726866767 Fix inconsistent AST formatting when granting wrong wildcard grants 2024-10-31 22:25:04 -04:00
jsc0218
2b9155c1b1 Merge remote-tracking branch 'origin/master' into LessReadInOrder 2024-11-01 00:32:35 +00:00
Anton Popov
ee2aa2f227
Merge pull request #71312 from CurtizJ/fix-async-insert-empty-block
Fix async inserts with empty blocks via native protocol
2024-10-31 23:48:27 +00:00
Igor Nikonov
6a41494d44 Merge remote-tracking branch 'origin/master' into pr-enable-local-plan 2024-10-31 19:33:03 +00:00
serxa
d8fd18c38e Fix test: add more retries 2024-10-31 19:06:51 +00:00
jsc0218
77298ef479 add setting 2024-10-31 18:23:06 +00:00
Raúl Marín
f17482e5aa
Merge pull request #71304 from Algunenano/fix_00653_verification_monotonic_data_load
Fix incomplete cleanup of parallel output format in the client
2024-10-31 17:54:15 +00:00
kssenii
e5be813de5 Sync 2024-10-31 18:50:43 +01:00
kssenii
ca389d0d71 Move settings to cloud level 2024-10-31 18:43:56 +01:00
avogar
7e7a8179ca Merge branch 'master' of github.com:ClickHouse/ClickHouse into fix-weak-ptr-exception-dynamic 2024-10-31 17:06:14 +00:00
Mikhail Artemenko
1000ef0e02 some improves 2024-10-31 16:39:31 +00:00
Vitaly Baranov
b16a18ed66 Add test for mixed version on hosts doing backup or restore. 2024-10-31 17:39:29 +01:00
Kseniia Sumarokova
390429dee5
Fix build 2024-10-31 17:34:17 +01:00
alesapin
9ab86b78dd
Merge branch 'master' into expose_weird_setting 2024-10-31 17:26:34 +01:00
Mikhail Artemenko
83f434dffb fix simple path 2024-10-31 16:25:17 +00:00
avogar
542dac1815 Implement simple CAST from Map/Tuple/Object to new JSON through serialization/deserialization from JSON string 2024-10-31 16:24:11 +00:00
alesapin
4784c3f0a3 Better style for some sever-level settings 2024-10-31 17:12:43 +01:00
Yarik Briukhovetskyi
74438d5291
Merge pull request #71105 from exmy/fix-path
Support write hdfs files with space
2024-10-31 16:03:20 +00:00
alesapin
53d4f2aacf Followup 2024-10-31 16:33:40 +01:00
Raúl Marín
f4a7f475dc
Merge pull request #71145 from Algunenano/setting_tiers
Introduce setting tiers
2024-10-31 15:18:29 +00:00
Pablo Marcos
de72f12bd5
Merge pull request #71311 from ClickHouse/minor-timestamp-fix-in-debug-log
Fix debug log timestamp
2024-10-31 15:13:35 +00:00
alesapin
2f0a8ecdcb Expose one more simple merge selector setting 2024-10-31 16:02:38 +01:00
Anton Popov
a57c64e6b0 fix async inserts with empty blocks via native protocol 2024-10-31 14:59:04 +00:00
Pablo Marcos
cdb479d10d Fix debug log timestamp
Increase the error margin for the test to avoid flakiness
in the intervals where the number of events is smaller.
2024-10-31 14:43:28 +00:00
Igor Nikonov
7d5ebc89ed
Merge branch 'master' into pr-enable-local-plan 2024-10-31 15:41:11 +01:00
Konstantin Bogdanov
aac09671fd
Merge pull request #70642 from MikhailBurdukov/fix_exception_system_drop_replica
Allow `system drop replica zkpath` when there is another replica with the same zk path.
2024-10-31 14:35:45 +00:00
Konstantin Bogdanov
dff28b735c
Merge pull request #71269 from ClickHouse/ecs-token-from-file
Read AWS EKS token from file
2024-10-31 14:05:46 +00:00
MikhailBurdukov
936d6b2251 Fix unescaping in named collections 2024-10-31 14:05:33 +00:00
Pavel Kruglov
1fd66d0472
Update SerializationObject.cpp 2024-10-31 14:58:27 +01:00
avogar
f322ee5bda Merge branch 'master' of github.com:ClickHouse/ClickHouse into native-http-async-insert-settings 2024-10-31 13:56:30 +00:00
avogar
5d07e325ac Merge branch 'master' of github.com:ClickHouse/ClickHouse into json-escape-file-names 2024-10-31 13:55:15 +00:00
avogar
353fccbeca Merge branch 'master' of github.com:ClickHouse/ClickHouse into dynamic-constraints 2024-10-31 13:54:38 +00:00
avogar
b7907051b3 Fix comments, update tests 2024-10-31 13:52:15 +00:00
Raúl Marín
9ea9e9422e Fix bad cleanup of output format in client when an exception happens 2024-10-31 14:46:40 +01:00
kssenii
f9f6b31799 Merge remote-tracking branch 'origin/master' into disable-fs-cache-background-download-for-metadata-files 2024-10-31 13:53:46 +01:00
kssenii
1563689c03 Transfer changes from sync 2024-10-31 13:31:54 +01:00
avogar
3184b1ef11 Fix reading of LowCardinality dictionary in Dynamic column 2024-10-31 12:24:03 +00:00
kssenii
41e4076c5c Fix test 2024-10-31 13:18:30 +01:00
Christoph Wurm
b229fb1664 Check if the mutation query is valid. 2024-10-31 12:04:24 +00:00
Vladimir Cherkasov
a6c6ff5f08
Merge pull request #71055 from arthurpassos/support_for_boolean_parquet_native_reader
Boolean support for parquet native reader
2024-10-31 11:55:36 +00:00
Raúl Marín
27b4e80983
Merge pull request #71195 from Algunenano/memory_logging
Improve error and log messages around memory usage
2024-10-31 11:48:52 +00:00
Daniil Ivanik
e29c488b05
Merge pull request #71184 from ClickHouse/divanik/add_info_about_unsupported_remote_7z
Fix and document 7z archive local-only restriction
2024-10-31 10:29:16 +00:00
Antonio Andelic
172c06ad4d
Merge pull request #71236 from ClickHouse/ignore-nosuchkey
Ignore `No such key` exceptions in some cases
2024-10-31 09:27:56 +00:00
Sergei Trifonov
d14ca872d4
Merge pull request #71266 from ClickHouse/revert-71251-revert-69187-sql-for-workload-management
Revert "Revert "SQL syntax for workload and resource management""
2024-10-30 23:18:05 +00:00
Arthur Passos
33fdddf9d9 remove unrelated file 2024-10-30 19:26:37 -03:00
Arthur Passos
8d622000b0 remove unrelated file 2024-10-30 19:26:13 -03:00
Vitaly Baranov
f6b5d27c58 Rework coordination of hosts during BACKUP ON CLUSTER / RESTORE ON CLUSTER.
Fix concurrency check, implement cancelling of distributed backups/restores.
2024-10-30 22:18:35 +01:00
Vitaly Baranov
982b67fb22 Add support for zookeeper retries to executeDDLQueryOnCluster(). 2024-10-30 22:18:35 +01:00
Vitaly Baranov
8fea878834 Make configurable the number of retries used by ZooKeeper when connecting. 2024-10-30 22:18:35 +01:00
Vitaly Baranov
31402c5840 Add support for a custom cancellation exception to QueryStatus::cancelQuery(). 2024-10-30 22:18:35 +01:00
Alexey Milovidov
ae29572119
Merge pull request #70997 from Romeo58rus/master
Add support for reloading client-side certificates
2024-10-30 20:17:47 +00:00
Arthur Passos
124736756f fix msan issue 2024-10-30 16:18:43 -03:00
Mikhail Artemenko
c8b94a3c61 fix empty stream filling 2024-10-30 17:21:29 +00:00
Mikhail Artemenko
b6bd776355 cleanup 2024-10-30 17:09:35 +00:00
Mikhail Artemenko
82783fe020 disable logs 2024-10-30 16:41:38 +00:00
Raúl Marín
b87c0c4bc8
Merge pull request #71216 from Algunenano/table_function_scalar
Fix LOGICAL_ERROR on wrong scalar subquery argument to table functions
2024-10-30 16:41:08 +00:00
Mikhail Artemenko
5b4d55dd3f move logs under flag 2024-10-30 16:41:02 +00:00
Kseniia Sumarokova
364276f53b
Merge pull request #71011 from MikhailBurdukov/access_header_for_s3
Add a new type of headers for S3 endpoints for custom authentication.
2024-10-30 16:38:05 +00:00
Mikhail Artemenko
ab5738b9f1 merge constraints 2024-10-30 16:11:40 +00:00
Konstantin Bogdanov
12e36c39fc
Sort headers 2024-10-30 16:52:59 +01:00
Konstantin Bogdanov
a819cfa709
Read ECS token from file 2024-10-30 16:50:40 +01:00
Mikhail Artemenko
7af2e822e7 cleanup 2024-10-30 15:22:45 +00:00
Sergei Trifonov
2760f283a1
Revert "Revert "SQL syntax for workload and resource management"" 2024-10-30 16:18:35 +01:00
Julia Kartseva
1c878c397d
Merge pull request #64847 from ClickHouse/Add_check_after_write_AzureBlobStorage
Azure Blob Storage: we added an option to check an object after write, too
2024-10-30 15:12:44 +00:00
Nikita Taranov
6816a3c1a3
Merge pull request #71166 from amosbird/improve_70939
Improve plan step desc of optimized trivial count
2024-10-30 15:11:14 +00:00
kssenii
3099eae479 Fix build 2024-10-30 15:56:20 +01:00
Mikhail Artemenko
2cda4dd901 cleanup 2024-10-30 14:46:56 +00:00
kssenii
81c58d9406 Better check 2024-10-30 15:15:41 +01:00
Pablo Marcos
2b959fed6b
Merge pull request #71124 from ClickHouse/hotfix_query_metric_log
Fix race condition in system.query_metric_log
2024-10-30 14:06:14 +00:00
kssenii
60840cb05f Fix memory usage in remote read when enable_filesystem_cache=1, but cached disk absent 2024-10-30 14:57:19 +01:00
Antonio Andelic
96f073f49a Add ReadBufferFromAzureBlobStorage and AsynchronousBoundedReadBuffer 2024-10-30 14:55:46 +01:00
Mikhail Artemenko
b9829c703f change constraints check 2024-10-30 13:44:59 +00:00
Raúl Marín
5e96c74768 Merge remote-tracking branch 'blessed/master' into memory_logging 2024-10-30 14:42:55 +01:00
divanik
0840f7854c Fix ifdefs in ObjectStorageObject table 2024-10-30 13:40:27 +00:00
Raúl Marín
50345cd254 Merge remote-tracking branch 'blessed/master' into setting_tiers 2024-10-30 14:39:56 +01:00
Konstantin Bogdanov
bceb1dce69
Merge pull request #70090 from arthurpassos/valid_until_per_auth_method
Allow each authentication method to have its own expiration date, remove from user entity.
2024-10-30 13:26:56 +00:00
Robert Schulze
0e063673d5
Fix potential out-of-bound access 2024-10-30 13:18:37 +00:00
Nikita Taranov
e76f66d865 fix typo 2024-10-30 13:58:33 +01:00
Raúl Marín
4364be72f1 Mark merge_selector_algorithm as experimental 2024-10-30 13:27:57 +01:00
Mikhail Artemenko
0dcb2b9c2c try another approach 2024-10-30 12:24:39 +00:00
Raúl Marín
bbbb81f43d Improvements based on review 2024-10-30 13:23:48 +01:00
Robert Schulze
fae5b11709
Fix #69010 2024-10-30 12:06:30 +00:00
Nikita Taranov
5e2355b123 better 2024-10-30 13:01:20 +01:00
Alexander Tokmakov
12718ff024
Merge pull request #71251 from ClickHouse/revert-69187-sql-for-workload-management
Revert "SQL syntax for workload and resource management"
2024-10-30 11:49:25 +00:00
Alexander Tokmakov
4a821e81a1
Revert "SQL syntax for workload and resource management" 2024-10-30 12:48:13 +01:00
Raúl Marín
973c9910f1
Merge pull request #71220 from ClickHouse/revert-70716-fix-optimize_functions_to_subcolumns
Revert "[RFC] Fix optimize_functions_to_subcolumns optimization"
2024-10-30 11:46:48 +00:00
Konstantin Bogdanov
62362d3166
Update ASTLiteral.cpp 2024-10-30 12:36:58 +01:00
Raúl Marín
ba0bb1d023
Merge pull request #71219 from Algunenano/enable_named_columns_in_function_tuple_disable_24_10
Disable enable_named_columns_in_function_tuple for 24.10
2024-10-30 11:14:45 +00:00
divanik
e7fe8fed22 Added flag for parquet files 2024-10-30 11:13:03 +00:00
Nikolai Kochetov
e3890a9de1 Disable virtual row better. 2024-10-30 11:12:21 +00:00
Christoph Wurm
486f4512d1 Add missing sources grants for Kafka, NATS and RabbitMQ. 2024-10-30 10:53:54 +00:00
divanik
da66d19b87 Merge branch 'master' of github.com:ClickHouse/ClickHouse into divanik/add_info_about_unsupported_remote_7z 2024-10-30 10:35:08 +00:00
divanik
ba9587c728 Removed trash 2024-10-30 10:34:12 +00:00
Yarik Briukhovetskyi
06d2c63de0
Merge pull request #67230 from yariks5s/fix_datetime64_set_conversion
Fix datetime64 losing precision during implicit conversion
2024-10-30 10:25:35 +00:00
divanik
425b3bdea1 Merge branch 'master' of github.com:ClickHouse/ClickHouse into divanik/data_lake_refactoring2 2024-10-30 10:01:07 +00:00
Roman Antonov
1f2e425d5b
Merge branch 'ClickHouse:master' into master 2024-10-30 12:50:45 +03:00
MikhailBurdukov
c9810bbea0 Rebase 2024-10-30 09:27:50 +00:00
Antonio Andelic
8f7fc5e49f
Merge pull request #71186 from ClickHouse/zero-copy-infinite-pain
Don't delete blob when a node is using it
2024-10-30 09:26:01 +00:00
Konstantin Bogdanov
1239137f24
Merge branch 'master' into valid_until_per_auth_method 2024-10-30 12:15:52 +03:00
Antonio Andelic
22cf45a8c8
Merge pull request #70998 from marcioapm/fix-session-leak
Fix named session leak. Simplify scheduling mechanism
2024-10-30 09:10:29 +00:00
Sergei Trifonov
2c4d93f552
Merge pull request #69187 from ClickHouse/sql-for-workload-management
SQL syntax for workload and resource management
2024-10-30 08:10:39 +00:00
MikhailBurdukov
b0977923fb Add new type of headers for S3 endpoints 2024-10-30 07:52:41 +00:00
xmy
20b5a3b5a0 Merge branch 'master' into fix-path 2024-10-30 14:24:54 +08:00
Julia Kartseva
0387331fe3 redundant 2024-10-30 03:06:41 +00:00
Julia Kartseva
a62b0a3466 fix race 2024-10-30 03:06:41 +00:00
Julia Kartseva
13e28eeb61 parallelize directory tree loading 2024-10-30 03:06:41 +00:00
Julia Kartseva
3c0eb1a80f review fixes 2024-10-30 03:06:41 +00:00
Julia Kartseva
5b16856e73 Update src/Disks/ObjectStorages/MetadataStorageFromPlainRewritableObjectStorage.cpp
Co-authored-by: Kseniia Sumarokova <54203879+kssenii@users.noreply.github.com>
2024-10-30 03:06:41 +00:00
Julia Kartseva
a0d58ad9e6 add counters 2024-10-30 03:06:41 +00:00
Julia Kartseva
bdb284cf05 store filenames compactly 2024-10-30 03:06:41 +00:00
Julia Kartseva
be985bcd9f tidy 2024-10-30 03:06:41 +00:00
Julia Kartseva
ee2564244f cleanup 2024-10-30 03:06:41 +00:00
Julia Kartseva
4a0a0446e4 Fix extensive listObject object storage API calls 2024-10-30 03:06:41 +00:00
Amos Bird
10ee24d9a0
Fix multiple codecs and add test 2024-10-30 09:42:04 +08:00
Roman Antonov
c88083fe16
Merge branch 'ClickHouse:master' into master 2024-10-30 01:43:07 +03:00
Nikita Taranov
d9f427deba stash 2024-10-29 23:33:45 +01:00