Commit Graph

143820 Commits

Author SHA1 Message Date
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
vdimir
764199e63c
fix build 2024-06-04 07:52:50 +00:00
vdimir
37fa4f5dd6
Revert "Fix build BlobStorageLogWriter with CLICKHOUSE_KEEPER_STANDALONE_BUILD"
This reverts commit dfcc36ee2d02c036126007dcdc1ffc1946a3e9f2.
2024-06-04 07:52:49 +00:00
vdimir
72e7a266e7
Revert "Move BlobStorageLogWriter to Interpreters"
This reverts commit ca3d80102365e76d931be016638b1ca506dffb86.
2024-06-04 07:52:49 +00:00
vdimir
6d9b2c8f5a
Move BlobStorageLogWriter to Interpreters 2024-06-04 07:52:48 +00:00
vdimir
5d1b33612c
Fix build BlobStorageLogWriter with CLICKHOUSE_KEEPER_STANDALONE_BUILD 2024-06-04 07:52:48 +00:00
vdimir
57e7e46a2b
Add enable_blob_storage_log to SettingsChangesHistory.h 2024-06-04 07:52:48 +00:00
vdimir
03fa9c32ee
Update BlobStorageLog and SystemLog to add settings for query 2024-06-04 07:52:47 +00:00
vdimir
55512d4a61
Prevent recursive logging in blob_storage_log 2024-06-04 07:52:44 +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
Eduard Karacharov
a7729d6bc4 fix: function filters with token-based text indexes 2024-06-04 09:25:00 +03:00
pufit
c3fd58475a Add comment 2024-06-04 01:12:30 -04: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
pufit
e59d71be48 fix test 2024-06-03 23:58:39 -04: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
pufit
abdf0d5b58 fix test 2024-06-03 21:29:08 -04: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
robot-clickhouse
c6108cf8f5 Automatic style fix 2024-06-03 22:56:02 +00:00
Michael Kolupaev
4aa396d115 Fix assert in IObjectStorageIteratorAsync 2024-06-03 22:50:57 +00:00
pufit
62aacc5539 Fix default database with grant on cluster 2024-06-03 18:43:08 -04: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
Raúl Marín
acfe2876b5 Fix OrderByLimitByDuplicateEliminationVisitor across subqueries 2024-06-03 21:06:02 +02: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