Commit Graph

112748 Commits

Author SHA1 Message Date
Michael Lex
5f218353ed Add comment to explain why it's safe to assume format version 1 2023-04-21 14:01:38 +02:00
Nikita Mikhaylov
c04d632373 Fix style 2023-04-18 00:22:52 +02:00
alesapin
ca8f3a10b0
Update src/Storages/StorageReplicatedMergeTree.cpp 2023-04-17 20:20:39 +02:00
robot-clickhouse
c53f2b763f Automatic style fix 2023-04-17 16:17:02 +00:00
Michael Lex
51c9ae05fb Fix unexpected part name error when trying to drop a ignored detache partition with zero copy replication
Before this fix, the integration test failed with this error

E           Code: 233. DB::Exception: Received from 172.22.0.9:9000. DB::Exception: Unexpected part name: ignored_all_0_0_0 for format version: 1. Stack trace:
E
E           0. /home/ubuntu/clickhouse/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x19bc7d02 in /usr/bin/clickhouse
E           1. /home/ubuntu/clickhouse/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x19bc7ccd in /usr/bin/clickhouse
E           2. /home/ubuntu/clickhouse/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x3194fae0 in /usr/bin/clickhouse
E           3. /home/ubuntu/clickhouse/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2268ae6e in /usr/bin/clickhouse
E           4. /home/ubuntu/clickhouse/src/Common/Exception.h:54: DB::Exception::Exception(String&&, int, bool) @ 0x19bbb00a in /usr/bin/clickhouse
E           5. /home/ubuntu/clickhouse/src/Common/Exception.h:81: DB::Exception::Exception<String const&, StrongTypedef<unsigned int, DB::MergeTreeDataFormatVersionTag>&>(int, FormatStringHelperImpl<std::type_identity<String const&>::type, std::type_identity<StrongTypedef<unsigned int, DB::MergeTreeDataFormatVersionTag>&>::type>, String const&, StrongTypedef<unsigned int, DB::MergeTreeDataFormatVersionTag>&) @ 0x2c4f318c in /usr/bin/clickhouse
E           6. /home/ubuntu/clickhouse/src/Storages/MergeTree/MergeTreePartInfo.cpp:23: DB::MergeTreePartInfo::fromPartName(String const&, StrongTypedef<unsigned int, DB::MergeTreeDataFormatVersionTag>) @ 0x2c4f0867 in /usr/bin/clickhouse
E           7. /home/ubuntu/clickhouse/src/Storages/StorageReplicatedMergeTree.cpp:8305: DB::(anonymous namespace)::getParentLockedBlobs(std::shared_ptr<DB::ZooKeeperWithFaultInjection> const&, String const&, String const&, StrongTypedef<unsigned int, DB::MergeTreeDataFormatVersionTag>, Poco::Logger*) @ 0x2bca90f7 in /usr/bin/clickhouse
2023-04-17 15:57:41 +00:00
Alexey Milovidov
6a4422c56d
Merge pull request #48826 from ClickHouse/remove-excessive-logging
Remove excessive logging
2023-04-17 09:30:01 +03:00
Alexey Milovidov
0dab82c420
Merge pull request #48824 from ClickHouse/fix-flaky-test-01054-window-view
Fix flaky test 01054_window_view_proc_tumble_to
2023-04-17 06:25:50 +03:00
Alexey Milovidov
82fe9d4dbe
Merge pull request #48789 from vitlibar/fix-flaky-test-backup-all
Fix flaky test test_backup_all
2023-04-17 06:24:58 +03:00
Alexey Milovidov
8a28064ad4 Remove excessive logging 2023-04-17 01:46:58 +02:00
Alexey Milovidov
629bbbd353
Merge pull request #48804 from hanfei1991/hanfei/forbid-gwpasan-debug
forbid gwpsan in debug mode to rescue stress tests
2023-04-17 01:16:12 +03:00
Alexey Milovidov
fb40200302
Merge pull request #48817 from ClickHouse/add-test-38128
Add a test for #38128
2023-04-17 01:15:25 +03:00
Yakov Olkhovskiy
00c87d3235
prevent a small chance insertion was made too late 2023-04-16 16:45:39 -04:00
Kseniia Sumarokova
54f660bd4f
Merge pull request #48805 from kssenii/simplify-cache-factory
Simplify FileCacheFactory
2023-04-16 19:47:01 +02:00
Han Fei
fc101a33cd
Update CMakeLists.txt
Co-authored-by: Alexey Milovidov <milovidov@clickhouse.com>
2023-04-16 16:01:41 +02:00
robot-ch-test-poll1
69cac0a788
Merge pull request #48816 from ClickHouse/fix-s3
Prevent a bug in AWS S3
2023-04-16 14:46:02 +02:00
kssenii
f9ed45c9b9 Fix test 2023-04-16 11:56:06 +02:00
Kseniia Sumarokova
000a63d61c
Merge pull request #48803 from vitlibar/allow-integration-tests-without-spark
Allow running integration tests without spark
2023-04-16 11:54:21 +02:00
Alexey Milovidov
8e0b1eae69
Update StorageS3Settings.cpp 2023-04-16 08:53:52 +03:00
Alexey Milovidov
21ce249145 Add a test for #38128 2023-04-16 07:36:31 +02:00
Alexey Milovidov
55d79d4874
Merge pull request #48815 from ClickHouse/whitespaces-2
Fix double whitespace in exception message
2023-04-16 07:57:16 +03:00
Alexey Milovidov
1174f4dcbe Prevent a bug in AWS S3 2023-04-15 23:56:49 +02:00
Alexey Milovidov
7f620bf852 Fix double whitespace in exception message 2023-04-15 23:54:10 +02:00
Alexey Milovidov
44f05e3fca
Merge pull request #48687 from ClickHouse/processor-call-oncancel-once
Call IProcessor::onCancel() once
2023-04-16 00:25:06 +03:00
Alexey Milovidov
df4678a25d
Merge pull request #48675 from ClickHouse/igor/analyzer-test-fixes
Fix tests for analyzer
2023-04-16 00:24:21 +03:00
Alexey Milovidov
75887c30f5
Merge pull request #48740 from ClickHouse/rs/varint-sanity
VarInt coding: Always perform sanity check
2023-04-16 00:18:25 +03:00
robot-clickhouse
f3dd4edbb7
Merge pull request #48793 from ClickHouse/fix_confusing_warning
Fix a confusing warning about interserver mode
2023-04-15 22:56:07 +02:00
Alexey Milovidov
a2793fcea6
Merge pull request #48771 from azat/fix-skip_unavailable_shards
Fix skip_unavailable_shards in case of unavailable hosts
2023-04-15 23:55:41 +03:00
Rich Raposa
0c58c75023
Merge pull request #48762 from et/patch-1
Fix docs for case insensitive searches with a token bloom filter
2023-04-15 10:57:21 -06:00
robot-ch-test-poll3
8c8bd0a6b8
Merge pull request #48808 from ClickHouse/rfraposa-patch-2
Add required PostgreSQL version number to MaterializedPostgreSQL table engine
2023-04-15 16:53:15 +02:00
Rich Raposa
04a8b4bd17
Update materialized-postgresql.md 2023-04-15 08:24:27 -06:00
kssenii
0517de58d1 Simplify FileCacheFactory 2023-04-15 16:15:20 +02:00
Kseniia Sumarokova
e312c4c299
Merge pull request #48783 from kssenii/fix-flaky-test_upgrade_while_mutation
Fix flaky test_version_update_after_mutation/test.py::test_upgrade_while_mutation
2023-04-15 13:20:07 +02:00
Kseniia Sumarokova
8a548b7901
Merge branch 'master' into fix-flaky-test_upgrade_while_mutation 2023-04-15 13:19:14 +02:00
Kseniia Sumarokova
9e7d8000a3
Update cluster.py 2023-04-15 13:00:38 +02:00
Han Fei
862c7b43af forbid gwpsan in debug mode to rescue stress tests 2023-04-15 12:54:54 +02:00
Igor Nikonov
eafa3e8f64
Merge pull request #48756 from ClickHouse/fix-flaky-parallel-csv-test
Try to fix flaky 02455_one_row_from_csv_memory_usage
2023-04-15 12:50:51 +02:00
Vitaly Baranov
80d6b82ac9 Allow starting integration tests without spark. 2023-04-15 11:29:03 +02:00
robot-ch-test-poll4
1996049256
Merge pull request #48779 from JaySon-Huang/fix_duplicated_code
Remove duplicate definition of SingleEndpointHTTPSessionPool
2023-04-15 05:41:53 +02:00
Alexey Milovidov
f731a30809
Merge pull request #48797 from ClickHouse/remove-zlib
Reimplement #48790
2023-04-15 06:27:21 +03:00
Igor Nikonov
39b896275f Merge remote-tracking branch 'origin/master' into fix-flaky-parallel-csv-test 2023-04-14 23:21:32 +00:00
Igor Nikonov
86fa7fe593 Fix flaky check: tag test no-parallel 2023-04-14 23:20:45 +00:00
Nikolay Degterinsky
1388154420
Merge pull request #48629 from bigo-sg/json_map_node
Support map type for JSONExtract
2023-04-15 01:02:09 +02:00
robot-ch-test-poll1
74687548bc
Merge pull request #48796 from ClickHouse/http-tabs
Clarify the use of tabs in URL parameters
2023-04-15 00:05:15 +02:00
robot-ch-test-poll1
5e940af4b5
Merge pull request #48798 from ClickHouse/yt-dislikes
Remove SETTINGS from Youtube dataset
2023-04-15 00:04:51 +02:00
robot-clickhouse-ci-1
584b21ff94
Merge pull request #48799 from ClickHouse/create-function-fix
Fix CREATE FUNCTION title
2023-04-14 23:45:55 +02:00
Alexey Milovidov
a8a713b5c0 Even better 2023-04-14 22:50:10 +02:00
rfraposa
85d7b43c2b Update function.md 2023-04-14 14:36:28 -06:00
rfraposa
d98bee8ea3 Update youtube-dislikes.md 2023-04-14 14:32:55 -06:00
Alexey Milovidov
b143dd3dae Reimplement #48790 2023-04-14 22:31:17 +02:00
rfraposa
42554e2671 Update youtube-dislikes.md 2023-04-14 14:30:36 -06:00