Commit Graph

143721 Commits

Author SHA1 Message Date
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
Raúl Marín
ee416a6862
Merge pull request #63723 from Algunenano/ifunction_column_size
Add a bunch of important asserts
2024-06-03 14:04:02 +00:00
Konstantin Bogdanov
aa040c506a
Merge pull request #64521 from azat/bash-completion/fix-settings
Fix bash completion for settings
2024-06-03 13:51:56 +00:00
Antonio Andelic
9be51d6f20 Return the explanation for session moved error 2024-06-03 15:48:18 +02:00
Amos Bird
7e6bb6b20d
Simply based on review comment 2024-06-03 21:25:23 +08:00
Amos Bird
dbecec7dbf
Improve PartitionPruner and trivial count opt 2024-06-03 21:25:21 +08:00
Nikolai Kochetov
49043d4399
Merge pull request #64517 from ClickHouse/fix-some-aliases-for-global-in
Fixing aliases for GLOBAL IN
2024-06-03 13:06:18 +00:00
Yarik Briukhovetskyi
230fbf76a9
Merge pull request #60156 from Artemmm91/hilbert-function
Add `hilbertEncode` and `hilbertDecode` functions
2024-06-03 12:23:01 +00:00
Mikhail Gorshkov
869134eaac Original remaining rows handling retained 2024-06-03 12:14:02 +00:00
Francisco Javier Jurado Moreno
ebf3bbe67a Fix tests and test file names 2024-06-03 13:49:57 +02:00
Nikolai Kochetov
84d2bbcf8b Merge branch 'master' into fix-some-aliases-for-global-in 2024-06-03 11:29:35 +00:00
Nikolai Kochetov
f5c2bbd9ce
Merge pull request #64672 from ClickHouse/split-query-analyzer
Split query analyzer
2024-06-03 11:27:25 +00:00
kssenii
fc06bd7da5 Review fixes 2024-06-03 12:59:27 +02:00
Mikhail Gorshkov
f2bebae0d5 Original formatting retained 2024-06-03 10:55:19 +00:00
Mikhail Gorshkov
0a64a75f19 PR suggestions follow-ups 2024-06-03 10:44:36 +00:00
alesapin
c45ebafc70
Merge pull request #64694 from ClickHouse/fix_ttl_incompatibility
Fix backward incompatibility in TTL execution
2024-06-03 10:29:26 +00:00
Nikita Mikhaylov
c53fb9b335
Merge pull request #64741 from primeroz/add-note-about-zstd-qat
Add Note about ZSTD_QAT codec being disabled in ClickHouse Cloud
2024-06-03 09:31:14 +00:00
Francisco Javier Jurado Moreno
f5234af770 Add tests 2024-06-03 10:55:11 +02:00
Francisco Javier Jurado Moreno
0081cc2d34 Add parseReadableSize* function names to spellchack ignore list 2024-06-03 10:49:18 +02:00
Francisco Javier Jurado Moreno
e33f996394 Add parseReadableSize* functions to docs 2024-06-03 10:47:51 +02:00
Francisco Javier Jurado Moreno
66a28e7e69 Add parseReadableSize function 2024-06-03 10:35:01 +02:00
Amos Bird
6fe266bc09
Fix build 2024-06-03 16:06:40 +08:00
vdimir
4e0c806ca1
Fix empty tuple vector functions 2024-06-03 16:06:39 +08:00
Amos Bird
162a6c5685
Update src/Columns/ColumnTuple.cpp
Co-authored-by: vdimir <vdimir@clickhouse.com>
2024-06-03 16:05:45 +08:00
Amos Bird
d5835b6eea
Update src/Columns/ColumnTuple.h
Co-authored-by: vdimir <vdimir@clickhouse.com>
2024-06-03 16:05:45 +08:00
Amos Bird
f397853577
Fix more tests 2024-06-03 16:05:44 +08:00
Amos Bird
1826159c37
Fix tests 2024-06-03 16:05:44 +08:00
Amos Bird
7bec19a82d
Address reviews 2024-06-03 16:05:44 +08:00
Amos Bird
b2d6610d5f
Support empty tuple. 2024-06-03 16:05:42 +08:00
Francesco Ciocchetti
a82cc3da6a
Add Note about ZSTD_QAT codec being disabled in ClickHouse Cloud 2024-06-03 09:08:02 +02:00
shuai-xu
d0733b4886 add comments 2024-06-03 15:02:21 +08:00
Antonio Andelic
7196852d08
Merge pull request #64565 from KrisBuytaert/patch-1
Update configuration-files.md
2024-06-03 06:46:28 +00:00
Alexey Milovidov
f6125d2d9f
Merge pull request #64532 from azat/file-use-max_read_buffer_size
Use max_read_buffer_size for file descriptors as well in file()
2024-06-02 20:13:18 +02:00
Alexey Milovidov
955db75a0d
Merge pull request #64542 from Algunenano/upgrade_tests
Upgrade tests: Update config and work with release candidates
2024-06-02 20:12:32 +02:00
alesapin
1d1eafc365
Update src/Storages/MergeTree/MergeTreeDataPartTTLInfo.cpp 2024-06-02 13:52:23 +02:00
Alexey Milovidov
a838adc0bf
Merge pull request #64714 from ClickHouse/s3jank
Check for missing Upload ID in CreateMultipartUpload reply
2024-06-02 01:12:00 +02:00
Alexander Gololobov
b885b22676 Merge branch 'master' of github.com:ClickHouse/ClickHouse into faster_test_keeper_shutdown 2024-06-02 00:00:56 +02:00