Commit Graph

66794 Commits

Author SHA1 Message Date
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
serxa
fe9b323981 Merge branch 'master' into sql-for-workload-management 2024-10-29 22:18:11 +00:00
Nikita Taranov
1ad1d372b2 stash 2024-10-29 23:08:56 +01:00
Nikita Taranov
41bd99510a stash 2024-10-29 23:08:51 +01:00
Nikita Taranov
bb9355b3d3 stash 2024-10-29 22:52:36 +01:00
Kseniia Sumarokova
772394f861
Merge pull request #70811 from ClickHouse/s3queue-allow-alter-settings
S3Queue: support `ALTER TABLE ... MODIFY/RESET SETTING ...` for certain settings
2024-10-29 20:41:23 +00:00
Raúl Marín
17776910f9
Revert "[RFC] Fix optimize_functions_to_subcolumns optimization" 2024-10-29 21:22:26 +01:00
Julia Kartseva
b3ef398f95
Merge pull request #71173 from jkartseva/interactive-metrics-fixes
Fixes for interactive metrics
2024-10-29 19:57:44 +00:00
Raúl Marín
1ff2d07f52 Better 2024-10-29 20:48:55 +01:00
Raúl Marín
078bf2ea5b Disable enable_named_columns_in_function_tuple for 24.10 2024-10-29 20:28:51 +01:00
Pavel Kruglov
7967cf346a
Merge pull request #71123 from ClickHouse/Avogar-patch-7
Update error message for JSONAsObject format
2024-10-29 19:08:05 +00:00
avogar
f73ff65edb Fix tests 2024-10-29 19:00:38 +00:00
Roman Antonov
a6f91e4044
Merge branch 'ClickHouse:master' into master 2024-10-29 21:59:12 +03:00
Raúl Marín
c3a7c25c51 Fix LOGICAL_ERROR on wrong scalar subquery argument to table functions 2024-10-29 19:53:35 +01:00
avogar
615af3e116 Merge branch 'master' of github.com:ClickHouse/ClickHouse into fix-weak-ptr-exception-dynamic 2024-10-29 18:48:29 +00:00
Pavel Kruglov
dd52d52117
Merge branch 'master' into dynamic-constraints 2024-10-29 19:45:13 +01:00
Pavel Kruglov
170a24a418
Update SettingsChangesHistory.cpp 2024-10-29 19:43:13 +01:00
Pavel Kruglov
42970cf597
Merge branch 'master' into alter-to-json 2024-10-29 19:39:48 +01:00
Pavel Kruglov
f9ada18755
Merge pull request #70549 from Avogar/fix-json-extract-bin-integers
Fix logical error in JSONExtract with LowCardinality(Nullable)
2024-10-29 18:31:06 +00:00
Konstantin Bogdanov
1f6946fef0
Merge pull request #71140 from ClickHouse/fail-on-unknown-db
Check if default DB exists after authorization
2024-10-29 18:26:51 +00:00
divanik
98c9afda2e Remove build ifdef issue 2024-10-29 17:25:13 +00:00
divanik
9b435388de Remove useless stuff 2024-10-29 17:20:53 +00:00
divanik
318fbe884a Merge branch 'master' into divanik/data_lake_refactoring2 2024-10-29 17:12:08 +00:00
divanik
7d2fc48b6d Fixed restart broken 2024-10-29 17:02:43 +00:00
Kseniia Sumarokova
9aa17fe0b6
Merge pull request #70984 from ClickHouse/s3queue-fix-issue
Fix logical error in storage s3queue
2024-10-29 16:25:01 +00:00
yariks5s
9858e96e25 Fix Style. 2024-10-29 16:08:40 +00:00
Yarik Briukhovetskyi
e183567022
Merge branch 'ClickHouse:master' into fix_datetime64_set_conversion 2024-10-29 16:52:57 +01:00
Julia Kartseva
ea5492d6f8 typo 2024-10-29 15:50:13 +00:00
yariks5s
69a8219176 Put DateTime64 implementation into another function. 2024-10-29 15:45:18 +00:00
Pablo Marcos
7a60543670 Take into account that some profile events such as NetworkReceiveBytes are inaccurate 2024-10-29 15:22:15 +00:00
Antonio Andelic
1a259af626
Merge pull request #71174 from ClickHouse/disable-gwp-asan
Maybe not GWPAsan by default
2024-10-29 15:21:51 +00:00
divanik
886603d625 Fixed some bugs 2024-10-29 15:18:05 +00:00
Raúl Marín
308763ce67 Improve error and log messages around memory usage 2024-10-29 16:15:41 +01:00
Nikita Taranov
9ec1f67d53
Merge pull request #70749 from ClickHouse/check_args_num
Check number of arguments for function with Dynamic argument
2024-10-29 15:10:35 +00:00
divanik
a54df54405 Add changes 2024-10-29 15:04:30 +00:00
Smita Kulkarni
6bccdb055c Merge branch 'master' into Add_check_after_write_AzureBlobStorage 2024-10-29 15:37:55 +01:00
avogar
414d04690e Remove unneeded include 2024-10-29 14:25:27 +00:00
avogar
6fa8153d1a Fix ignoring format settings in Native format via HTTP and Async Inserts 2024-10-29 14:24:37 +00:00
Roman Antonov
16d392b7db
Merge branch 'ClickHouse:master' into master 2024-10-29 17:10:48 +03:00
divanik
b81e024c70 Debug prints 2024-10-29 13:54:22 +00:00
Kirill
cd31aefb96
Merge branch 'master' into table-limit 2024-10-29 16:28:27 +03:00
vdimir
b5e3df977b
finishing 2024-10-29 12:48:44 +00:00
Arthur Passos
573204c303 getbatch 2024-10-29 09:30:44 -03:00
Anton Popov
0b0043ae1c
Merge pull request #68965 from CurtizJ/column-checkpoints
Better rollbacks of columns
2024-10-29 12:18:45 +00:00
Antonio Andelic
e18f2cf364 Don't delete blob when a node is using it 2024-10-29 12:49:00 +01:00
Robert Schulze
80bc5aee44
Merge pull request #71133 from rschu1ze/hnsw-compat-val
Update compatibility setting for `hnsw_candidate_list_size_for_search`
2024-10-29 11:43:17 +00:00
Raúl Marín
e2459c663d Fix tidy report 2024-10-29 12:38:59 +01:00
Pablo Marcos
6c0fbabcf7 Merge branch 'master' into hotfix_query_metric_log 2024-10-29 11:33:29 +00:00
Pablo Marcos
cf0694fd64 Revert "Add trace to help debugging the issue on the CI"
This reverts commit d063fc0a12.
2024-10-29 11:32:48 +00:00
Pablo Marcos
d5029c4af7 Add timestamp of QueryInfoStatus to debug trace to ease debugging 2024-10-29 11:30:02 +00:00
Anton Popov
ca2fcfd230
Merge pull request #71053 from CurtizJ/prewarm-mark-cache
Allow to prewarm mark cache for data parts
2024-10-29 11:22:39 +00:00
divanik
9a9aadc33f Added info 2024-10-29 11:21:24 +00:00
kssenii
67609e31ad Review fixes 2024-10-29 12:15:34 +01:00
Nikita Taranov
50e9c7c701 Merge branch 'master' into check_args_num 2024-10-29 12:12:04 +01:00
avogar
0d22cbe47f Fix bad_weak_ptr exception with Dynamic in functions comparison 2024-10-29 11:08:27 +00:00
avogar
646a48e36b Escape special symbols in files for JSON subcolumns 2024-10-29 10:53:03 +00:00
Roman Antonov
ac546572e6
Merge branch 'ClickHouse:master' into master 2024-10-29 13:51:41 +03:00
xmy
4839c1d9ce Support write hdfs files with space 2024-10-29 18:42:35 +08:00
Pablo Marcos
d063fc0a12 Add trace to help debugging the issue on the CI 2024-10-29 10:29:33 +00:00
Pablo Marcos
50f6e60eb2 Remove the query from the list as soon as we can
There's no need to take again the lock. This comes from
a prior version where the logic needed to be different.
2024-10-29 10:29:08 +00:00
divanik
af7aa7de56 Fix some bugs 2024-10-29 10:03:02 +00:00
flynn
336e92768c Merge branch 'master' of github.com:ClickHouse/ClickHouse into remove-external-distributed 2024-10-29 09:42:20 +00:00
serxa
78c8b43479 Merge branch 'master' into sql-for-workload-management 2024-10-29 09:09:05 +00:00
flynn
eac5e9883a Remove StorageExternalDistributed 2024-10-29 08:57:37 +00:00
Smita Kulkarni
5739696805 Merge branch 'master' into Add_check_after_write_AzureBlobStorage 2024-10-29 09:42:49 +01:00
Кирилл Гарбар
aaba95ca8c Simplify and fix limit check 2024-10-29 11:41:37 +03:00
Antonio Andelic
cb4eedec06 Disable GWPAsan by default 2024-10-29 09:30:41 +01:00
Julia Kartseva
96f992acca fix documentation column width 2024-10-29 07:41:40 +00:00
Julia Kartseva
e431628409 make interactive metrics toggling not sticky 2024-10-29 07:41:36 +00:00
Julia Kartseva
b98057da19 fix cursor display 2024-10-29 06:58:05 +00:00
taiyang-li
219cc4e5d2 fix mismatched aggreage function name of quantileExactWeightedInterpolated 2024-10-29 12:15:13 +08:00
Alexey Milovidov
617775a704 Merge branch 'master' into retry-more-error-codes-from-s3 2024-10-29 05:00:14 +01:00
Alexey Milovidov
0fecf98042
Merge pull request #71086 from ClickHouse/no-detached-parts-readonly
Do not list detached parts from readonly and write-once disks
2024-10-29 03:57:43 +00:00
Alexey Milovidov
5ce12e35a4
Merge pull request #71087 from ClickHouse/no-detached-parts-async-metrics
Do not calculate heavy asynchronous metrics by default
2024-10-29 04:57:08 +01:00
Amos Bird
30621285a2
Improve plan step desc of optimized trivial count 2024-10-29 11:43:12 +08:00
Roman Antonov
b9dff1fee6
Merge branch 'ClickHouse:master' into master 2024-10-29 06:14:08 +03:00
Alexey Milovidov
40eab21cdd
Merge pull request #70988 from ClickHouse/strict-license-check
Forbid unexpected licenses
2024-10-29 02:47:14 +00:00
Alexey Milovidov
52482a2880 Merge branch 'master' into retry-more-error-codes-from-s3 2024-10-29 02:55:06 +01:00
Alexey Milovidov
a44d0501f4
Merge pull request #71150 from ClickHouse/session-log-is-alright
`system.session_log` is quite okay
2024-10-29 01:53:45 +00:00
Alexey Milovidov
7aeb199499
Merge pull request #71091 from ClickHouse/no-system-table-generate-series
Remove system tables `generate_series` and `generateSeries`
2024-10-29 02:54:34 +01:00
Roman Antonov
1c10c0da49
Merge branch 'ClickHouse:master' into master 2024-10-29 02:42:46 +03:00
Anton Popov
7912024f90 Merge remote-tracking branch 'upstream/master' into HEAD 2024-10-28 22:50:59 +00:00
Sergei Trifonov
a97fc2678b
Merge pull request #69847 from ClickHouse/async_load_system_database
Add `async_load_system_database` setting
2024-10-28 22:30:42 +00:00
serxa
0c2ca9f0fb fix test dtor 2024-10-28 22:26:16 +00:00
serxa
c1f1fe464d enable old tests, leak is fixed 2024-10-28 22:23:47 +00:00
serxa
812fdf30f8 fix tidy build 2024-10-28 22:22:14 +00:00
Mikhail Artemenko
6772d3fe66 little improvement 2024-10-28 22:08:38 +00:00
Arthur Passos
5f140ea0a8 progress 2024-10-28 18:06:16 -03:00
Anton Popov
6cf3da7982 better vertical final in Replacing 2024-10-28 20:53:39 +00:00
Mikhail Artemenko
f905c804f5 fix calibration jump 2024-10-28 19:58:53 +00:00
Pablo Marcos
634f429aa7 Merge branch 'master' into hotfix_query_metric_log 2024-10-28 19:20:46 +00:00
Roman Antonov
2e46348d05
Merge branch 'ClickHouse:master' into master 2024-10-28 21:40:35 +03:00
Mikhail Artemenko
64d038c440 cleanup 2024-10-28 18:23:19 +00:00
Mikhail Artemenko
60f0efa676 remove debug log 2024-10-28 18:08:25 +00:00
Kseniia Sumarokova
116db8d6b7
Fix 2024-10-28 19:06:03 +01:00
Alexey Milovidov
bef86391fa system.session_log is quite okay 2024-10-28 18:58:14 +01:00
Shichao Jin
cca5d54657
Merge pull request #71089 from jsc0218/ProjRebuildRespectsRowExists
Proj LWD Rebuild Respects Deleted Rows
2024-10-28 17:49:44 +00:00
Mikhail Artemenko
4c9d865e75 disable debug logs 2024-10-28 17:45:27 +00:00
Mikhail Artemenko
fc33593ff0 fix style 2024-10-28 17:45:02 +00:00
Mikhail Artemenko
9760d39efe allow negative staleness for descending order 2024-10-28 17:43:15 +00:00
Mikhail Artemenko
2d7de40ba7 fix sparse tables 2024-10-28 17:24:03 +00:00