Commit Graph

98469 Commits

Author SHA1 Message Date
Alexey Milovidov
e7525da88f
Update src/Storages/MergeTree/MergeTreePartsMover.cpp
Co-authored-by: Robert Schulze <robert@clickhouse.com>
2022-09-20 05:16:02 +03:00
Alexey Milovidov
4fcfcf282a
Update src/Storages/examples/merge_selector2.cpp
Co-authored-by: Robert Schulze <robert@clickhouse.com>
2022-09-20 05:15:47 +03:00
Duc Canh Le
e2bd478b98 fix conversion from nullable fixed string to string 2022-09-20 10:05:18 +08:00
Denny Crane
5e801fae48 fix datetime64_monotonicity flacky test 2022-09-19 21:37:35 -03:00
Sergei Trifonov
cf2db48c29
Merge pull request #40631 from ClickHouse/readonly-settings-allow
Allow to modify constrained settings in readonly mode
2022-09-20 02:18:14 +02:00
Sergei Trifonov
358c5a0139
Merge pull request #41532 from ClickHouse/s3-api-calls-events-for-disk-s3
Detailed S3 profile events `DiskS3*` per S3 API call split for S3 ObjectStorage
2022-09-20 02:10:50 +02:00
Vitaly Baranov
b1199878ad
Merge pull request #39977 from vitlibar/improve-recovery-of-replicated-access-storage
Improve recovery of ReplicatedAccessStorage after errors.
2022-09-20 00:36:30 +02:00
Filatenkov Artur
3598a7e680
Fix query type information 2022-09-20 01:03:55 +03:00
Igor Nikonov
5d6326ee58 Fix test 2022-09-19 22:00:37 +00:00
alesapin
ee24b21aaf Fix revert order 2022-09-19 21:19:36 +02:00
kssenii
e40ced28fd Done 2022-09-19 21:05:30 +02:00
Sergei Trifonov
7902922ae4
Merge branch 'master' into readonly-settings-allow 2022-09-19 21:00:12 +02:00
Alexander Tokmakov
627c948373
Update 01233_check_table_with_metadata_cache.sh 2022-09-19 21:54:38 +03:00
Mikhail f. Shiryaev
5d8b8a7db6
Add deb Source for packages 2022-09-19 20:42:02 +02:00
serxa
2ef696ffe1 fix issues 2022-09-19 18:40:32 +00:00
Igor Nikonov
aca810ba62 Merge remote-tracking branch 'origin/master' into distinct_in_order_wo_order_by 2022-09-19 18:34:38 +00:00
Igor Nikonov
78bb598d64 Handling DISTINCT in order on top of other read in order optimization 2022-09-19 18:33:05 +00:00
alesapin
f67e23183f Fix parts removal on drop + add unrelated test 2022-09-19 20:19:49 +02:00
serxa
7a1d4a404a add DiskS3* profile events per S3 API calls 2022-09-19 18:10:47 +00:00
Robert Schulze
f4b10b62d1
More ORDER BYs 2022-09-19 17:31:11 +00:00
serxa
f8aa738511 more conventional profile events names 2022-09-19 17:23:22 +00:00
serxa
6ed53585ab rearrange and fix profile event descriptions 2022-09-19 17:03:48 +00:00
Sergei Trifonov
d4a7e1892c
Merge pull request #41039 from mateng0915/support_s3_api_event_metrics
Feature: Support Event Tracing when calling Aws S3 API
2022-09-19 19:00:38 +02:00
Igor Nikonov
5de8298ca1
Merge branch 'master' into fix_sort_desc_when_read_in_order 2022-09-19 18:54:42 +02:00
Igor Nikonov
3419a47848 + test 2022-09-19 16:51:43 +00:00
Robert Schulze
3fec42075d
Some houskeeping in tests/queries/0_stateless/00646_url_engine.python
Co-authored-by: Alexey Milovidov <milovidov@clickhouse.com>
2022-09-19 18:44:20 +02:00
Sergei Trifonov
51a7cf1295
Merge branch 'master' into support_s3_api_event_metrics 2022-09-19 17:37:28 +02:00
kssenii
ba8cb7c086 Fix 2022-09-19 17:35:13 +02:00
Azat Khuzhin
f76f14a99c Fix possible hung/deadlock on query cancellation
Right due to graceful cancellation of the query, it is possible to hung
accepting new queries or even have a deadlock, this is because
cancellation is done while acquiring ProcessListBase::mutex.

So this patch makes query cancellation lock-free, and now the lock will
be acquired only for preparing the query and after cancel is done.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-09-19 17:31:21 +02:00
Alexey Milovidov
1d06ddcb9a
Merge pull request #41522 from DerekChia/patch-1
Change input_format_skip_unknown_fields default to 1
2022-09-19 18:29:59 +03:00
kssenii
eef638d58e Disable random settings for s3 && (tsan || debug) 2022-09-19 17:18:53 +02:00
Derek Chia
cb613b8675
Change input_format_skip_unknown_fields default to 1
As per PR https://github.com/ClickHouse/ClickHouse/pull/37192, `input_format_skip_unknown_fields` is enabled by default. Likewise, it is also set as `true` in the factory settings https://github.com/ClickHouse/ClickHouse/blob/master/src/Core/Settings.h#L696

Updating the docs to reflect the change.
2022-09-19 22:37:03 +08:00
Azat Khuzhin
e26976fff2 Add a test for hungs in case of parallel KILL QUERY (with distributed queries)
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-09-19 16:31:34 +02:00
Antonio Andelic
0f92e5e576 Add option for loading only system tables from path using clickhouse-local 2022-09-19 14:18:42 +00:00
Amos Bird
652c7cb519
Add comments to FunctionNameNormalizer. 2022-09-19 22:07:04 +08:00
Amos Bird
1a21f0a0f0
normalize ast for replicated metadata 2022-09-19 22:06:41 +08:00
Amos Bird
0bb70d4378
Make minmax_count projection backward compatible 2022-09-19 22:06:40 +08:00
kssenii
03b25a96d2 Update .reference 2022-09-19 15:50:21 +02:00
kssenii
33b5063270 Merge remote-tracking branch 'origin/rename-some-cache-commands' into rename-some-cache-commands 2022-09-19 15:49:53 +02:00
Kseniia Sumarokova
37f4295b01
Update 02344_show_caches.sql 2022-09-19 15:47:26 +02:00
Vitaly Baranov
052ecaa211
Merge branch 'master' into improve-recovery-of-replicated-access-storage 2022-09-19 15:26:21 +02:00
Vitaly Baranov
f75dd93965 Mask some information in logs. 2022-09-19 15:00:06 +02:00
Sergei Trifonov
ff2e1ff8d8
Merge branch 'master' into support_s3_api_event_metrics 2022-09-19 14:35:45 +02:00
Sergei Trifonov
26da32f53f
Update tests/integration/test_profile_events_s3/test.py 2022-09-19 14:35:23 +02:00
Raúl Marín
e89dffbb95 Fix AggregateFunctionNullVariadic batch with null_is_skipped=false 2022-09-19 14:34:08 +02:00
Kruglov Pavel
712aebc077
Merge pull request #41083 from Avogar/fix-map-combinator
Fix possible segfaults, use-heap-after-free and memory leak in aggregate function combinators
2022-09-19 14:29:17 +02:00
kssenii
f8665c83da Add retries for nats 2022-09-19 14:27:11 +02:00
kssenii
30a5477514 Add retries for nats 2022-09-19 14:26:38 +02:00
Alexander Tokmakov
4e83174006
Merge pull request #41390 from ClickHouse/fix_drop_partition_on_cluster
Fix ON CLUSTER with Replicated database cluster
2022-09-19 15:22:30 +03:00
Alexander Tokmakov
c6efb1773e
Merge branch 'master' into fix_drop_partition_on_cluster 2022-09-19 15:18:05 +03:00