Commit Graph

143705 Commits

Author SHA1 Message Date
Alexander Gololobov
ee3ea236b9
Merge pull request #64433 from ClickHouse/faster_test_keeper_shutdown
Faster TestKeeper shutdown
2024-06-04 10:47:17 +00:00
Mikhail f. Shiryaev
0cd4e0ecaa
Increase safe limits of token requests to pick it 2024-06-04 12:39:07 +02:00
Mikhail f. Shiryaev
938b5d267b
Bring back strict StatusType 2024-06-04 12:36:13 +02:00
Robert Schulze
a3faaa2129
Merge pull request #64626 from Blargian/doc_covarXYZ
Document functions `corr`, `covar`, and their variants
2024-06-04 10:27:29 +00:00
Robert Schulze
e02cc4c9e0
Fix style, pt. II 2024-06-04 09:54:34 +00:00
Raúl Marín
6f89f39708 Remove unnecessary comment 2024-06-04 11:54:08 +02:00
Robert Schulze
ef0bff6759
Clarify test 2024-06-04 09:51:56 +00:00
Robert Schulze
3cef283541
Merge remote-tracking branch 'rschu1ze/master' into deprecated-inverted-index 2024-06-04 09:49:51 +00:00
Robert Schulze
5fffba2291
Minor fixups 2024-06-04 09:49:32 +00:00
Raúl Marín
b4c0a35339
Merge pull request #64761 from Algunenano/speed_up_forget_partition
Speed up 02995_forget_partition
2024-06-04 09:43:44 +00:00
Antonio Andelic
9d30a7f056 Fix Keeper snapshot size in mntr 2024-06-04 11:30:22 +02:00
Robert Schulze
ca40ac9886
Fix spelling 2024-06-04 09:25:48 +00:00
Robert Schulze
f1229ccdf8
Merge remote-tracking branch 'ClickHouse/master' into doc_covarXYZ 2024-06-04 09:25:36 +00:00
Raúl Marín
0917ff0fa0
Merge pull request #64764 from Algunenano/fix_02790
Fix 02790_async_queries_in_query_log (silent discard in MV column matching)
2024-06-04 09:18:55 +00:00
Robert Schulze
14404b8a0a
Merge remote-tracking branch 'rschu1ze/master' into map-stuff 2024-06-04 08:42:25 +00:00
Nikolai Kochetov
8c2c27e346
Merge pull request #61459 from amosbird/trivial-count-opt-base
Refactor KeyCondition and key analysis
2024-06-04 07:57:18 +00:00
Igor Nikonov
7290e270dc Merge remote-tracking branch 'origin/master' into fix-crash-distinct-optimization 2024-06-04 07:26:58 +00:00
Igor Nikonov
6e5aace682 Fix test 2024-06-04 07:26:24 +00:00
Amos Bird
347c0f3f73
Remove wrong reference 2024-06-04 15:02:03 +08:00
Julia Kartseva
2ee4159453 Fix crash in a local cache over plain_rewritable disk
The plain_rewritable object storage has introduced some new methods
to object storage. Override the CachedObjectStorage methods so that
they call these.
2024-06-04 04:53:38 +00:00
Julia Kartseva
d4e6f2e8d6 Update test_s3_plain_rewritable test
- add cache_s3_plain_rewritable caching disk
- simplify, don't look up counters
2024-06-04 04:53:32 +00:00
Alexey Milovidov
3f58fcb26b
Merge pull request #64765 from ClickHouse/tavplubix-patch-10
Update 02482_load_parts_refcounts.sh
2024-06-04 04:04:16 +00:00
Alexey Milovidov
887a56d5f7
Merge pull request #63584 from ClickHouse/trek
Track memory allocated by the arrow library
2024-06-04 04:03:30 +00:00
Alexey Milovidov
b6e3b9c784
Merge pull request #64774 from ClickHouse/ask-company-name
Ask about company name on GitHub
2024-06-04 05:59:07 +02:00
Alexey Milovidov
a24b9054b3 Whitespace 2024-06-04 05:50:07 +02:00
Alexey Milovidov
84914f2c3d Remove iostream_debug_helpers 2024-06-04 05:48:45 +02:00
Alexey Milovidov
2c581ecc46 Fix SQLite 2024-06-04 05:24:17 +02:00
Alexey Milovidov
f4d1f6050f
Merge pull request #64562 from bigo-sg/literal
ASTLiteral support custom type
2024-06-04 03:20:08 +00:00
Alexey Milovidov
fc0c44c9c4 Ask about company name on GitHub 2024-06-04 05:00:39 +02:00
Alexey Milovidov
863d799765 Whitespace 2024-06-04 04:55:41 +02:00
Alexey Milovidov
b0d6b0ffdf
Merge pull request #64771 from ClickHouse/tfname
Make table functions always report engine 'StorageProxy' in system.tables
2024-06-04 02:33:40 +00:00
shuai-xu
8c62bde552 add comments 2024-06-04 09:36:14 +08:00
Michael Kolupaev
26abb08b84 Conflict 2024-06-04 00:01:25 +00:00
Michael Kolupaev
4e38e89ffd Conflict 2024-06-04 00:01:25 +00:00
Michael Kolupaev
10a78f0841 Declare ErrorCodes 2024-06-04 00:01:25 +00:00
Michael Kolupaev
0fd9cdf47e Track memory allocated by the arrow library 2024-06-04 00:01:25 +00:00
Michael Kolupaev
16bf3e3062 Make table functions always report engine 'StorageProxy' in system.tables 2024-06-03 23:47:52 +00:00
Igor Nikonov
f8e6614b80 Fix crash with DISTINCT and window functions 2024-06-03 20:52:23 +00:00
Igor Markelov
52eb917ef0 Merge branch 'master' into add-compression-sorts-optimization 2024-06-03 20:47:04 +00:00
Alexander Tokmakov
d733bc1023
Update 02482_load_parts_refcounts.sh 2024-06-03 20:17:36 +02:00
Raúl Marín
a6b83a4534 Test stability 2024-06-03 20:02:51 +02:00
Raúl Marín
03c6dca0c0 Fix 02790_async_queries_in_query_log 2024-06-03 19:47:19 +02:00
Yarik Briukhovetskyi
0e2efda93a
black check 2024-06-03 19:39:41 +02:00
Yarik Briukhovetskyi
d459564408
review changes 2024-06-03 19:30:01 +02:00
Raúl Marín
4d461d69fe Speed up RMT too 2024-06-03 19:22:23 +02:00
Azat Khuzhin
1e01adda04 Do not try to write columns.txt if it does not exists for write-once storages
Remember that write-once does not allows move:

    [local] 2024.06.03 17:21:22.520165 [ 10032 ] {c923ec81-c802-407f-8078-a5b46cec4d21} <Error> DiskObjectStorageTransaction: An error occurred while executing transaction's operation #0 (PureMetadataObjectStorageOperation): Code: 48. DB::Exception: Operation is not implemented. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below):

    0. /src/ch/clickhouse/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000143113d6
    1. /src/ch/clickhouse/src/Common/Exception.cpp:101: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000ae2fd6c
    2. /src/ch/clickhouse/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000006133a61
    3. /src/ch/clickhouse/contrib/llvm-project/libcxx/include/vector:434: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000613f0dc
    4. /src/ch/clickhouse/src/Disks/ObjectStorages/IMetadataStorage.h:164: DB::IMetadataTransaction::throwNotImplemented() @ 0x000000000f895364
    7. /src/ch/clickhouse/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::(anonymous namespace)::PureMetadataObjectStorageOperation::execute(std::shared_ptr<DB::IMetadataTransaction>) @ 0x000000000f84ddde
    8. /src/ch/clickhouse/src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:946: DB::DiskObjectStorageTransaction::commit() @ 0x000000000f84d74f
    9. /src/ch/clickhouse/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DiskObjectStorage::moveFile(String const&, String const&, bool) @ 0x000000000f83c472
    10. /src/ch/clickhouse/contrib/llvm-project/libcxx/include/string:1499: DB::DataPartStorageOnDiskFull::moveFile(String const&, String const&) @ 0x00000000111b541a
    11. /src/ch/clickhouse/src/Storages/MergeTree/IMergeTreeDataPart.cpp:1053: DB::IMergeTreeDataPart::writeColumns(DB::NamesAndTypesList const&, DB::WriteSettings const&) @ 0x00000000111f28be
    12. /src/ch/clickhouse/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::IMergeTreeDataPart::loadColumns(bool) @ 0x00000000111e9883
    13. /src/ch/clickhouse/src/Storages/MergeTree/IMergeTreeDataPart.cpp:714: DB::IMergeTreeDataPart::loadColumnsChecksumsIndexes(bool, bool) @ 0x00000000111e8b12
    14. /src/ch/clickhouse/src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::loadDataPart(DB::MergeTreePartInfo const&, String const&, std::shared_ptr<DB::IDisk> const&, DB::MergeTreeDataPartState, std::mutex&) @ 0x00000000112849d0

Note, that DataPartStorageOnDiskBase::isReadonly() is used only in
loadColumns() for calling writeColumns() in case of columns.txt does not
exists

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-06-03 17:42:25 +02:00
Raúl Marín
eb0fd8aa53 Speed up 02995_forget_partition 2024-06-03 17:33:35 +02:00
Blargian
cfd07e0c83 Review changes 2024-06-03 17:32:09 +02:00
vdimir
ecc6836dee
Merge pull request #64424 from liuneng1994/reduce-parquet-writer-peak-memory
Reduce parquet writer peak memory
2024-06-03 14:49:05 +00:00
Amos Bird
ba7b4e058b
Resolve conflicts 2024-06-03 22:46:18 +08:00