Commit Graph

139435 Commits

Author SHA1 Message Date
Maksim Kita
35e1e5aff7 Perf script update path in documentation 2024-04-09 14:42:29 +03:00
Igor Nikonov
4c106b2d0c Merge remote-tracking branch 'origin/master' into add-part-name-in-check-part-exception 2024-04-09 11:41:12 +00:00
Robert Schulze
184e51551d
Merge pull request #62228 from rschu1ze/docs-drop-table
Docs: Slightly improve wording of `DROP TABLE` docs
2024-04-09 11:10:36 +00:00
Robert Schulze
3b2a0c4c51
Merge pull request #62205 from rschu1ze/docs-datatypes2
Docs: Slightly improve data type docs
2024-04-09 11:10:01 +00:00
Blargian
7b3a973ee0 Add missing example to uniqCombined 2024-04-09 12:55:01 +02:00
Kruglov Pavel
6c952ce0f1
Merge pull request #62413 from Avogar/fix-numbers-zero-step
Fix logical error 'numbers_storage.step != UInt64{0}'
2024-04-09 10:54:36 +00:00
Kruglov Pavel
057efdb447
Merge pull request #62398 from Avogar/fix-analyzer-merge-push-down
Fix filter pushdown from additional_table_filters in Merge engine in analyzer
2024-04-09 10:54:06 +00:00
Blargian
af505aafbc Small fix 2024-04-09 12:34:53 +02:00
Max K
d5eec609cb
Merge pull request #62410 from ClickHouse/ci_disable_finish_check_for_mq
CI: disable finish check for mq
2024-04-09 10:33:59 +00:00
Blargian
fe868ddf86 Document uniqCombined64 and update uniqueCombined 2024-04-09 12:31:35 +02:00
Sema Checherinda
04ea8a85f2
Merge pull request #62249 from ClickHouse/chesema-keep-alive-send-and-receive
several fixes for client's keep alive connections
2024-04-09 10:27:28 +00:00
Max Kainov
4e344f6a93 remove ci status and reports for MQ case 2024-04-09 10:25:41 +00:00
Kruglov Pavel
49ba81a5f9
Merge pull request #62417 from Avogar/dot-product-overflow
Don't check overflow in  arrayDotProduct in undefined sanitizer
2024-04-09 10:17:58 +00:00
Maksim Kita
0543fc3263 OptimizeGroupByInjectiveFunctionsPass remove unused constant 2024-04-09 13:17:42 +03:00
Nikita Mikhaylov
6e90a197f8
Update 03091_analyzer_same_table_name_in_different_databases.sql 2024-04-09 12:02:11 +02:00
Blargian
0265ba5027 Add wyHash to aspell-ignore 2024-04-09 10:55:08 +02:00
Alexander Gololobov
b3dd5f519d
Merge pull request #62348 from ClickHouse/http_log_levels
Reduce log levels for ReadWriteBufferFromHTTP retries
2024-04-09 07:02:31 +00:00
Antonio Andelic
17111c2f0e
Merge pull request #62317 from ClickHouse/postprocess-correct-i-hope
Fix for postprocess script: print correct count for frame
2024-04-09 06:56:40 +00:00
Nikolay Degterinsky
f45acef131 Support for a tiny feature in stateless tests image 2024-04-09 00:33:18 +00:00
Nikita Mikhaylov
eac8852c75 Less flaky tests 2024-04-09 00:14:49 +02:00
Nikita Mikhaylov
f207715426
Update 03068_analyzer_distributed_join.sql 2024-04-08 22:25:50 +02:00
Blargian
2c41bcb25a Add multiSearchXYZ functions to aspell-dict.txt 2024-04-08 21:57:11 +02:00
Blargian
208722a513 Fix spelling mistake 2024-04-08 21:55:27 +02:00
Nikita Mikhaylov
6b3ed64d3e
Merge pull request #61232 from ClickHouse/optimize-wait-for-outdated-parts
Do nothing in `waitForOutdatedPartsToBeLoaded()` if loading is not required
2024-04-08 19:20:33 +00:00
Nikita Mikhaylov
72af467a35
Merge pull request #61786 from mneedham/aggregating-mergetree
AggregatingMergeTree: Split table creation and MV definition + add mo…
2024-04-08 19:19:07 +00:00
Robert Schulze
b138b1e103
Empty commit 2024-04-08 19:18:44 +00:00
Nikita Mikhaylov
5b2f8b2502
Merge pull request #61767 from mneedham/window-functions
[Docs] add ranking functions + make the supported table more obvious
2024-04-08 19:18:28 +00:00
Robert Schulze
2280fdeec1
Empty commit 2024-04-08 19:16:47 +00:00
Blargian
1b9a72e374 Add back accidently removed description 2024-04-08 20:56:30 +02:00
Blargian
3f91ece54b Remove blank space from wordShingleSimHashUTF8 2024-04-08 20:54:42 +02:00
Alexander Tokmakov
9a08f1ddd6
Update StorageFileLog.cpp 2024-04-08 20:53:19 +02:00
Blargian
33eba42c13 Document wyHash64 2024-04-08 20:50:41 +02:00
Alexey Milovidov
5db0df0bc1
Update BaseDaemon.cpp 2024-04-08 21:48:36 +03:00
Azat Khuzhin
75e46f865c Avoid uncaught exception for onFault handler
onFault() is called from the std::thread, and it should catch all
exceptions, otherwise you can unrelated fatal errors.

<details>

<summary>stacktrace</summary>

    2024.04.08 13:15:29.526847 [ 2067427 ] {} <Fatal> BaseDaemon: (version 24.2.2.71 (official build), build id: 57F857DCFE8BA6838F6463E4665CD700852BFF0E, git hash: 9293d361e7) (from thread 2118603) Terminate called for uncaught exception:
    2024.04.08 13:15:29.526904 [ 2067427 ] {} <Fatal> BaseDaemon: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket (10.61.7.253:9000 -> 10.101.53.134:46036). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below):
    2024.04.08 13:15:29.526983 [ 2067427 ] {} <Fatal> BaseDaemon:
    2024.04.08 13:15:29.527042 [ 2067427 ] {} <Fatal> BaseDaemon: 0. ./build_docker/./src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cf5af1b
    2024.04.08 13:15:29.527061 [ 2067427 ] {} <Fatal> BaseDaemon: 1. ./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException<String, String, String>(int, FormatStringHelperImpl<std::type_identity<String>::type, std::type_identity<String>::type, std::type_identity<String>::type>, String&&, String&&, String&&) @ 0x000000000d07dfe1
    2024.04.08 13:15:29.527082 [ 2067427 ] {} <Fatal> BaseDaemon: 2. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000d07e97e
    2024.04.08 13:15:29.527125 [ 2067427 ] {} <Fatal> BaseDaemon: 3. ./src/IO/WriteBuffer.h:65: DB::TCPHandler::sendLogs() @ 0x0000000012fd31c1
    2024.04.08 13:15:29.527144 [ 2067427 ] {} <Fatal> BaseDaemon: 4. ./contrib/llvm-project/libcxx/include/atomic:958: void std::__function::__policy_invoker<void ()>::__call_impl<std::__function::__default_alloc_func<DB::TCPHandler::runImpl()::$_0, void ()>>(std::__function::__policy_storage const*) @ 0x0000000012fdcc6e
    2024.04.08 13:15:29.527163 [ 2067427 ] {} <Fatal> BaseDaemon: 5. ./contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x000000000d25c65b
    2024.04.08 13:15:29.527182 [ 2067427 ] {} <Fatal> BaseDaemon: 6. ./build_docker/./src/Daemon/BaseDaemon.cpp:286: void* std::__thread_proxy[abi:v15000]<std::tuple<std::unique_ptr<std::__thread_struct, std::default_delete<std::__thread_struct>>, SignalListener::run()::'lambda'()>>(void*) @ 0x000000000d25e775
    2024.04.08 13:15:29.527191 [ 2067427 ] {} <Fatal> BaseDaemon: 7. ? @ 0x00007f0fe4906609
    2024.04.08 13:15:29.527211 [ 2067427 ] {} <Fatal> BaseDaemon: 8. ? @ 0x00007f0fe482b353

    2024.04.08 13:15:29.534235 [ 2118604 ] {} <Fatal> BaseDaemon: ########## Short fault info ############
    2024.04.08 13:15:29.534347 [ 2118604 ] {} <Fatal> BaseDaemon: (version 24.2.2.71 (official build), build id: 57F857DCFE8BA6838F6463E4665CD700852BFF0E, git hash: 9293d361e7) (from thread 2118603) Received signal 6
    2024.04.08 13:15:29.534476 [ 2118604 ] {} <Fatal> BaseDaemon: Signal description: Aborted
    2024.04.08 13:15:29.534484 [ 2118604 ] {} <Fatal> BaseDaemon:
    2024.04.08 13:15:29.534510 [ 2118604 ] {} <Fatal> BaseDaemon: Stack trace: 0x00007f0fe474f00b 0x00007f0fe472e859 0x000000000d24f72e 0x0000000017d15be3 0x0000000017d15818 0x0000000012fd350d 0x0000000012fdcc6e 0x000000000d25c65b 0x000000000d25e775 0x00007f0fe4906609 0x00007f0fe482b353
    2024.04.08 13:15:29.534531 [ 2118604 ] {} <Fatal> BaseDaemon: ########################################
    2024.04.08 13:15:29.534609 [ 2118604 ] {} <Fatal> BaseDaemon: (version 24.2.2.71 (official build), build id: 57F857DCFE8BA6838F6463E4665CD700852BFF0E, git hash: 9293d361e7) (from thread 2118603) (no query) Received signal Aborted (6)
    2024.04.08 13:15:29.534638 [ 2118604 ] {} <Fatal> BaseDaemon:
    2024.04.08 13:15:29.534663 [ 2118604 ] {} <Fatal> BaseDaemon: Stack trace: 0x00007f0fe474f00b 0x00007f0fe472e859 0x000000000d24f72e 0x0000000017d15be3 0x0000000017d15818 0x0000000012fd350d 0x0000000012fdcc6e 0x000000000d25c65b 0x000000000d25e775 0x00007f0fe4906609 0x00007f0fe482b353
    2024.04.08 13:15:29.534711 [ 2118604 ] {} <Fatal> BaseDaemon: 2. ? @ 0x00007f0fe474f00b
    2024.04.08 13:15:29.534728 [ 2118604 ] {} <Fatal> BaseDaemon: 3. ? @ 0x00007f0fe472e859
    2024.04.08 13:15:29.613230 [ 2118604 ] {} <Fatal> BaseDaemon: 4.0. inlined from ./contrib/llvm-project/libcxxabi/src/cxa_exception.cpp:670: __cxa_decrement_exception_refcount
    2024.04.08 13:15:29.613283 [ 2118604 ] {} <Fatal> BaseDaemon: 4.1. inlined from ./contrib/llvm-project/libcxx/src/support/runtime/exception_pointer_cxxabi.ipp:17: ~exception_ptr
    2024.04.08 13:15:29.613311 [ 2118604 ] {} <Fatal> BaseDaemon: 4. ./build_docker/./src/Daemon/BaseDaemon.cpp:591: terminate_handler() @ 0x000000000d24f72e
    2024.04.08 13:15:29.617590 [ 2118604 ] {} <Fatal> BaseDaemon: 5. ./build_docker/./contrib/llvm-project/libcxxabi/src/cxa_handlers.cpp:61: std::__terminate(void (*)()) @ 0x0000000017d15be3
    2024.04.08 13:15:29.619575 [ 2118604 ] {} <Fatal> BaseDaemon: 6. ./build_docker/./contrib/llvm-project/libcxxabi/src/cxa_exception.cpp:0: __cxa_rethrow @ 0x0000000017d15818
    2024.04.08 13:15:30.104097 [ 2118604 ] {} <Fatal> BaseDaemon: 7.0. inlined from ./src/IO/WriteBuffer.h:0: DB::WriteBuffer::next()
    2024.04.08 13:15:30.104331 [ 2118604 ] {} <Fatal> BaseDaemon: 7.1. inlined from ./build_docker/./src/Server/TCPHandler.cpp:2225: DB::TCPHandler::sendLogData(DB::Block const&)
    2024.04.08 13:15:30.104408 [ 2118604 ] {} <Fatal> BaseDaemon: 7. ./build_docker/./src/Server/TCPHandler.cpp:2303: DB::TCPHandler::sendLogs() @ 0x0000000012fd350d
    2024.04.08 13:15:30.217481 [ 2118604 ] {} <Fatal> BaseDaemon: 8.0. inlined from ./contrib/llvm-project/libcxx/include/atomic:958: double std::__cxx_atomic_load[abi:v15000]<double>(std::__cxx_atomic_base_impl<double> const*, std::memory_order)
    2024.04.08 13:15:30.217579 [ 2118604 ] {} <Fatal> BaseDaemon: 8.1. inlined from ./contrib/llvm-project/libcxx/include/atomic:1588: std::__atomic_base<double, false>::load[abi:v15000](std::memory_order) const
    2024.04.08 13:15:30.217617 [ 2118604 ] {} <Fatal> BaseDaemon: 8.2. inlined from ./src/Common/ThreadFuzzer.cpp:407: pthread_mutex_unlock
    2024.04.08 13:15:30.217644 [ 2118604 ] {} <Fatal> BaseDaemon: 8.3. inlined from ./contrib/llvm-project/libcxx/include/__threading_support:314: std::__libcpp_mutex_unlock[abi:v15000](pthread_mutex_t*)
    2024.04.08 13:15:30.217676 [ 2118604 ] {} <Fatal> BaseDaemon: 8.4. inlined from ./contrib/llvm-project/libcxx/src/mutex.cpp:52: std::mutex::unlock()
    2024.04.08 13:15:30.217699 [ 2118604 ] {} <Fatal> BaseDaemon: 8.5. inlined from ./contrib/llvm-project/libcxx/include/__mutex_base💯 ~lock_guard
    2024.04.08 13:15:30.217747 [ 2118604 ] {} <Fatal> BaseDaemon: 8.6. inlined from ./build_docker/./src/Server/TCPHandler.cpp:392: operator()
    2024.04.08 13:15:30.217776 [ 2118604 ] {} <Fatal> BaseDaemon: 8.7. inlined from ./contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ?
    2024.04.08 13:15:30.217796 [ 2118604 ] {} <Fatal> BaseDaemon: 8.8. inlined from ./contrib/llvm-project/libcxx/include/__functional/invoke.h:479: ?
    2024.04.08 13:15:30.217859 [ 2118604 ] {} <Fatal> BaseDaemon: 8.9. inlined from ./contrib/llvm-project/libcxx/include/__functional/function.h:235: ?
    2024.04.08 13:15:30.217878 [ 2118604 ] {} <Fatal> BaseDaemon: 8. ./contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000012fdcc6e
    2024.04.08 13:15:30.240809 [ 2118604 ] {} <Fatal> BaseDaemon: 9. ./contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x000000000d25c65b
    2024.04.08 13:15:30.283617 [ 2118604 ] {} <Fatal> BaseDaemon: 10.0. inlined from ./build_docker/./src/Daemon/BaseDaemon.cpp:286: operator()
    2024.04.08 13:15:30.283686 [ 2118604 ] {} <Fatal> BaseDaemon: 10.1. inlined from ./contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ?
    2024.04.08 13:15:30.283725 [ 2118604 ] {} <Fatal> BaseDaemon: 10.2. inlined from ./contrib/llvm-project/libcxx/include/thread:284: void std::__thread_execute[abi:v15000]<std::unique_ptr<std::__thread_struct, std::default_delete<std::__thread_struct>>, SignalListener::run()::'lambda'()>(std::tuple<std::unique_ptr<std::__thread_struct, std::default_delete<std::__thread_struct>>, SignalListener::run()::'lambda'()>&, std::__tuple_indices<>)
    2024.04.08 13:15:30.283755 [ 2118604 ] {} <Fatal> BaseDaemon: 10. ./contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]<std::tuple<std::unique_ptr<std::__thread_struct, std::default_delete<std::__thread_struct>>, SignalListener::run()::'lambda'()>>(void*) @ 0x000000000d25e775
    2024.04.08 13:15:30.283799 [ 2118604 ] {} <Fatal> BaseDaemon: 11. ? @ 0x00007f0fe4906609
    2024.04.08 13:15:30.283821 [ 2118604 ] {} <Fatal> BaseDaemon: 12. ? @ 0x00007f0fe482b353
    2024.04.08 13:15:30.574588 [ 2118604 ] {} <Fatal> BaseDaemon: Integrity check of the executable successfully passed (checksum: 3485110FABDB0C94202BD684999A9814)
    2024.04.08 13:15:30.574704 [ 2118604 ] {} <Fatal> BaseDaemon: Report this error to https://github.com/ClickHouse/ClickHouse/issues

</details>

v2: fatal logging

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-04-08 20:20:25 +02:00
Raúl Marín
75aff7fc1a Remove the code 2024-04-08 19:27:46 +02:00
Robert Schulze
2bcf984e55
Merge remote-tracking branch 'rschu1ze/master' into docs-datatypes2 2024-04-08 17:17:35 +00:00
avogar
b318091528 Don't check overflow in dotProduct in undefined sanitizer 2024-04-08 17:17:04 +00:00
Robert Schulze
e09db43991
Merge remote-tracking branch 'rschu1ze/master' into docs-drop-table 2024-04-08 17:16:58 +00:00
Alexey Milovidov
c5ae1eec1e Merge branch 'master' of github.com:ClickHouse/ClickHouse into full-syntax-highlight 2024-04-08 19:00:46 +02:00
Alexey Milovidov
ce4ab06d03
Merge pull request #62382 from ClickHouse/remove-insert-watch
Remove support for INSERT WATCH query
2024-04-08 16:58:27 +00:00
Nikolai Kochetov
e5282bf39f I ♥ group_by_use_nulls. 2024-04-08 16:39:55 +00:00
avogar
39c6188a2c Fix logical error 'numbers_storage.step != UInt64{0}' 2024-04-08 16:38:19 +00:00
Nikita Mikhaylov
48b1c94ddd Merge branch 'master' of github.com:ClickHouse/ClickHouse into analyzer-fixes-bugs 2024-04-08 16:23:17 +00:00
Max Kainov
baa62cdaee CI: no CI Running status for MQ 2024-04-08 16:09:47 +00:00
Yarik Briukhovetskyi
6277deb166
small fixes 2024-04-08 17:59:54 +02:00
Nikita Mikhaylov
c69d8e18f2 Dont use constant database name 2024-04-08 15:38:15 +00:00
Sergei Trifonov
d6a8eccaf9
Merge pull request #62393 from andreev-io/ilya/alter-typo
Fix a typo in the documentation of the ALTER statement
2024-04-08 15:21:47 +00:00
flynn
f9402f3584 Fix 2024-04-08 15:15:45 +00:00
Nikita Taranov
5b4f67cc39
Merge pull request #62268 from nickitat/test_for_bug
Fix PartsSplitter
2024-04-08 15:11:25 +00:00
Max Kainov
603824748d CI: disable finish check for mq 2024-04-08 15:03:13 +00:00