Commit Graph

119303 Commits

Author SHA1 Message Date
Azat Khuzhin
5835e72fd6 More generic approach to disable native copy
Previous patch implements this only for BACKUP/RESTORE, but it can be
useful for regular disks as well, so add allow_native_copy for disks.

Note, that there is s3_allow_native_copy query setting, since it looks
redundant, since it make sense only for S3 disks, and not on a per query
basis.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-07-09 08:20:02 +02:00
Azat Khuzhin
00cf66ab7a Add ability to disable native copy for BACKUP/RESTORE
Native copy uses CopyObject for S3/GCS, but in GCS the CopyObject is
buggy - it does not always works.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-07-09 08:19:10 +02:00
Alexey Milovidov
59eadca95c
Merge branch 'master' into less-logs-2 2023-07-09 08:49:44 +03:00
Alexey Milovidov
612a785fd0
Merge pull request #51674 from ClickHouse/system_jemalloc
System table with jemalloc stats
2023-07-09 08:48:05 +03:00
Alexey Milovidov
d2fca36983
Merge branch 'master' into clickhouse_as_library_2 2023-07-09 08:47:53 +03:00
Alexey Milovidov
1a5ae9899d
Merge pull request #51710 from velavokr/velavokr-warn-cpu-utilization
A cmake warning on job limits underutilizing CPU
2023-07-09 08:47:01 +03:00
Alexey Milovidov
e74d42fe0d
Merge pull request #51802 from ClickHouse/fix-tsan-thread-local
Fix tsan signal-unsafe call
2023-07-09 08:46:00 +03:00
Alexey Milovidov
84600287a6
Merge pull request #50066 from bigo-sg/improve_geohash
Allow geoHashEncode when its arguments are mixed with const and non-const columns
2023-07-09 08:44:35 +03:00
robot-ch-test-poll4
8b329e83bd
Merge pull request #51959 from ClickHouse/fixes_for_transactions2
Fix some issues with transactions
2023-07-09 06:55:27 +02:00
Alexey Milovidov
28ad54299a
Merge branch 'master' into add-check-for-stateful-tests 2023-07-09 07:54:11 +03:00
Alexey Milovidov
dc7dbf87d8
Merge pull request #51989 from ClickHouse/move-test
Move a test to the right place
2023-07-09 07:53:42 +03:00
robot-clickhouse-ci-1
4666838a5d
Merge pull request #49438 from azat/build/unwind
Force libunwind usage (removes gcc_eh support)
2023-07-09 05:38:34 +02:00
Alexey Milovidov
52632af9b3
Update connection.py 2023-07-09 06:18:10 +03:00
Alexey Milovidov
01f4f2ab41
Merge branch 'master' into sqlloogic-improvements 2023-07-09 06:16:15 +03:00
Alexey Milovidov
3d4800995f
Merge pull request #49732 from nickitat/impr_prefetch
Improve reading with prefetch
2023-07-09 06:10:58 +03:00
Alexey Milovidov
b5b814860a
Merge branch 'master' into add-test-44816 2023-07-09 05:50:24 +03:00
Alexey Milovidov
e2c8cea381
Merge pull request #51801 from ClickHouse/fix_broken_parts_handling
Fix broken parts handling in `ReplicatedMergeTree`
2023-07-09 05:32:51 +03:00
Alexey Milovidov
780a54afb4
Merge pull request #51545 from azat/dist/fix-selector-SIGSEGV
Fix SIGSEGV for clusters with zero weight across all shards (fixes INSERT INTO FUNCTION clusterAllReplicas())
2023-07-09 05:31:39 +03:00
Alexey Milovidov
7311469c32 Fix test_extreme_deduplication 2023-07-09 04:17:15 +02:00
Alexey Milovidov
29f625e7bb Add a check to validate that the stateful tests are stateful 2023-07-09 03:43:18 +02:00
Alexey Milovidov
8d9e1d41c5 Move a test to the right place 2023-07-09 03:39:05 +02:00
Alexey Milovidov
ab93967fb4
Merge pull request #51171 from ClickHouse/retry
Decrease default timeouts for S3 and HTTP requests
2023-07-09 03:49:56 +03:00
Alexey Milovidov
1167e9a452
Merge pull request #51987 from ClickHouse/auto/v22.8.20.11-lts
Update version_date.tsv and changelogs after v22.8.20.11-lts
2023-07-09 03:22:35 +03:00
Alexey Milovidov
8180ee9591
Merge pull request #51986 from ClickHouse/auto/v23.6.2.18-stable
Update version_date.tsv and changelogs after v23.6.2.18-stable
2023-07-09 03:22:16 +03:00
robot-clickhouse
c968fe808f Update version_date.tsv and changelogs after v22.8.20.11-lts 2023-07-08 23:17:41 +00:00
robot-clickhouse
45d36b736a Update version_date.tsv and changelogs after v23.6.2.18-stable 2023-07-08 23:14:02 +00:00
Alexey Milovidov
508a9c1800
Merge pull request #51969 from ClickHouse/docker-network-prune
Fix Docker
2023-07-08 23:45:58 +03:00
robot-clickhouse
1343e5cc45
Merge pull request #51853 from kitaisreal/cache-dictionary-request-only-unique-keys-from-source
CacheDictionary request only unique keys from source
2023-07-08 20:58:16 +02:00
Azat Khuzhin
a10aa9ad50 Force libunwind usage (removes gcc_eh support)
libunwind is reentrant and signal safe, and works faster then then
gcc_eh (plus it has some custom patches for problems that have been
found during it's usage in ClickHouse).

gcc_eh may be missing in the system (if gcc was not installed), and
even if it exists clickhouse uses -nodefaultlibs, so some care should be
made to make it work.

Also this library is tiny and there shouln't be any problem to require
it always (there is already tendency to require some contrib libraries,
i.e. poco).

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-07-08 20:55:50 +02:00
Alexey Milovidov
66b6823202
Merge branch 'master' into add-test-34626 2023-07-08 21:53:24 +03:00
Alexey Milovidov
5d385f5f14
Merge pull request #51881 from qoega/per-column-pk-syntax
Add support for PRIMARY KEY syntax in column definition
2023-07-08 21:52:29 +03:00
Alexey Milovidov
2a8c7d0ea2
Update src/Parsers/ParserCreateQuery.cpp
Co-authored-by: Nikolay Degterinsky <43110995+evillique@users.noreply.github.com>
2023-07-08 21:52:19 +03:00
Alexey Milovidov
0440dde315
Merge pull request #51873 from ClickHouse/remove-useless-system-query
Remove useless code
2023-07-08 21:11:41 +03:00
Alexey Milovidov
eff85a7273
Merge pull request #51966 from ClickHouse/fix-LSan
Fix unrelated messages from LSan in clickhouse-client
2023-07-08 21:06:01 +03:00
Alexey Milovidov
b44c582c40
Merge pull request #51951 from ClickHouse/more_logs_on_shutdown
Better logs on shutdown
2023-07-08 19:51:38 +03:00
Alexey Milovidov
a4b9b65180
Merge pull request #51967 from ClickHouse/allow-oom-in-fuzzer-with-sanitizer
Allow OOM in AST Fuzzer with Sanitizers
2023-07-08 19:50:16 +03:00
Alexey Milovidov
1f8029cd18
Merge pull request #51971 from ClickHouse/fix-test-02354_distributed_with_external_aggregation_memory_usage
Fix test `02354_distributed_with_external_aggregation_memory_usage`
2023-07-08 19:49:20 +03:00
Alexey Milovidov
8610482239
Merge pull request #51970 from ClickHouse/fix-test-01825_type_json_from_map
Fix test `01825_type_json_from_map`
2023-07-08 19:48:57 +03:00
Alexey Milovidov
7a4ace1efb
Merge pull request #51968 from ClickHouse/disable-one-test-analyzer
Disable one test under Analyzer
2023-07-08 19:48:17 +03:00
Alexey Milovidov
a2d7f5e635
Merge pull request #46416 from azat/allocator-tunning
[TEST] Tune allocator
2023-07-08 19:45:01 +03:00
Alexey Milovidov
52277d6252
Merge pull request #51363 from azat/clickhouse-local-default-settings
Use separate default settings for clickhouse-local
2023-07-08 19:37:27 +03:00
Alexey Milovidov
b2fb5b20c8
Merge branch 'master' into dist/fix-selector-SIGSEGV 2023-07-08 19:32:59 +03:00
Alexey Milovidov
85531f32cf
Update 02804_clusterAllReplicas_insert.sql 2023-07-08 19:32:44 +03:00
Alexey Milovidov
58ee566278
Merge pull request #51964 from ClickHouse/allow-parametric-udfs
Allow parametric UDFs
2023-07-08 19:12:48 +03:00
Alexander Tokmakov
44ae3a0986 fix a bug in projections 2023-07-08 16:13:07 +02:00
Alexander Tokmakov
df31034820 rollback merge tasks on exception 2023-07-08 14:03:08 +02:00
Alexey Milovidov
781d5e3aa3
Merge pull request #51922 from ClickHouse/fix-subquery-operators
Fix error in subquery operators
2023-07-08 10:37:47 +03:00
Alexey Milovidov
b958499c27
Merge pull request #51458 from ClickHouse/sunny19930321-fix-attach-table-function-name-normalizer
Merging #36384
2023-07-08 10:37:11 +03:00
Alexey Milovidov
235328ab1d
Merge pull request #51354 from ClickHouse/add-test-32474
Add a test for #32474
2023-07-08 10:35:25 +03:00
Alexey Milovidov
33d7cca9df
Merge pull request #51356 from ClickHouse/add-test-35801
Add a test for #35801
2023-07-08 10:34:58 +03:00