2026.11.23 16:57:14.072512 [ 1399 ] {1ff74bef-23bb-44d8-9fa9-132c9561ba94} : Logical error: 'Unexpected return type from materialize. Expected String. Got Nullable(String). Action: 2026.11.23 16:57:14.106383 [ 1399 ] {1ff74bef-23bb-44d8-9fa9-132c9561ba94} : Stack trace (when copying this message, always include the lines below): 2026.11.23 17:01:19.357963 [ 594 ] {} BaseDaemon: ########## Short fault info ############ 2026.11.23 17:01:19.358005 [ 594 ] {} BaseDaemon: (version 25.8.33.20004.altinityantalya, build id: 30ACDADAF2CF65611BC1DF03115E038AA7F39364, git hash: 20596fb4851eadd26c9ad1f1d25abd48bf26d335, architecture: x86_64) (from thread 1399) Received signal 6 2026.11.23 17:01:19.358009 [ 594 ] {} BaseDaemon: Signal description: Aborted 2026.11.23 17:01:19.358020 [ 594 ] {} BaseDaemon: 2026.11.23 17:01:19.358045 [ 594 ] {} BaseDaemon: Stack trace: 0x00007f2b47a5f9fd 0x00007f2b47a0b476 0x00007f2b479f17f3 0x000056508f063bbf 0x000056508f064867 0x000056508f064e15 0x00005650809546ad 0x0000565080953e46 0x0000565084f8b2f7 0x000056509a88e680 0x000056509a88b2a7 0x00005650a1c9a609 0x00005650948cf297 0x00005650a162ffba 0x00005650a166950e 0x00005650a164d1b8 0x00005650a164f731 0x000056508f288359 0x000056508f291348 0x000056508f28530f 0x000056508f28d52a 0x00007f2b47a5dac3 0x00007f2b47aef850 2026.11.23 17:01:19.358071 [ 594 ] {} BaseDaemon: ######################################## 2026.11.23 17:01:19.358431 [ 594 ] {} BaseDaemon: (version 25.8.33.20004.altinityantalya, build id: 30ACDADAF2CF65611BC1DF03115E038AA7F39364, git hash: 20596fb4851eadd26c9ad1f1d25abd48bf26d335) (from thread 1399) (query_id: 1ff74bef-23bb-44d8-9fa9-132c9561ba94) (query: WITH toNullable('a' AS x) SELECT leadInFrame(x) IGNORE NULLS OVER (ORDER BY (toUInt128(7) IS NULL) IS NULL ASC, x ASC NULLS LAST ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) WHERE 7 GROUP BY x WITH ROLLUP HAVING 7 IS NOT NULL ORDER BY 1 DESC, entropy(materialize('a'), materialize(toUInt128(materialize(toUInt256(toUInt128(7)))))) OVER (RANGE BETWEEN CURRENT ROW AND CURRENT ROW) DESC SETTINGS group_by_use_nulls = 1) Received signal Aborted (6) 2026.11.23 17:01:19.358452 [ 594 ] {} BaseDaemon: 2026.11.23 17:01:19.358469 [ 594 ] {} BaseDaemon: Stack trace: 0x00007f2b47a5f9fd 0x00007f2b47a0b476 0x00007f2b479f17f3 0x000056508f063bbf 0x000056508f064867 0x000056508f064e15 0x00005650809546ad 0x0000565080953e46 0x0000565084f8b2f7 0x000056509a88e680 0x000056509a88b2a7 0x00005650a1c9a609 0x00005650948cf297 0x00005650a162ffba 0x00005650a166950e 0x00005650a164d1b8 0x00005650a164f731 0x000056508f288359 0x000056508f291348 0x000056508f28530f 0x000056508f28d52a 0x00007f2b47a5dac3 0x00007f2b47aef850 2026.11.23 17:01:19.358752 [ 594 ] {} BaseDaemon: 3. pthread_kill@@GLIBC_2.34 @ 0x00000000000969fd 2026.11.23 17:01:19.358838 [ 594 ] {} BaseDaemon: 4. gsignal @ 0x0000000000042476 2026.11.23 17:01:19.358893 [ 594 ] {} BaseDaemon: 5. __ieee754_lgamma_r @ 0x00000000000287f3 2026.11.23 17:01:19.376641 [ 594 ] {} BaseDaemon: 6. ./ci/tmp/build/./src/Common/Exception.cpp:51: DB::abortOnFailedAssertion(String const&, void* const*, unsigned long, unsigned long) @ 0x0000000028fe9bbf 2026.11.23 17:01:19.413229 [ 594 ] {} BaseDaemon: 7. ./ci/tmp/build/./src/Common/Exception.cpp:84: DB::handle_error_code(String const&, std::basic_string_view>, int, bool, std::vector> const&) @ 0x0000000028fea867 2026.11.23 17:01:19.431346 [ 594 ] {} BaseDaemon: 8. ./ci/tmp/build/./src/Common/Exception.cpp:135: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x0000000028feae15 2026.11.23 17:01:19.507620 [ 594 ] {} BaseDaemon: 9. DB::Exception::Exception(String&&, int, String, bool) @ 0x000000001a8da6ad 2026.11.23 17:01:19.540537 [ 594 ] {} BaseDaemon: 10. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000001a8d9e46 2026.11.23 17:01:19.571911 [ 594 ] {} BaseDaemon: 11. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&) @ 0x000000001ef112f7 2026.11.23 17:01:19.624370 [ 594 ] {} BaseDaemon: 12. ./ci/tmp/build/./src/Interpreters/ExpressionActions.cpp:673: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x0000000034814680 2026.11.23 17:01:19.664164 [ 594 ] {} BaseDaemon: 13. ./ci/tmp/build/./src/Interpreters/ExpressionActions.cpp:809: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x00000000348112a7 2026.11.23 17:01:19.671022 [ 594 ] {} BaseDaemon: 14. ./ci/tmp/build/./src/Processors/Transforms/ExpressionTransform.cpp:26: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003bc20609 2026.11.23 17:01:19.683889 [ 594 ] {} BaseDaemon: 15. ./src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002e855297 2026.11.23 17:01:19.693440 [ 594 ] {} BaseDaemon: 16. ./ci/tmp/build/./src/Processors/ISimpleTransform.cpp:98: DB::ISimpleTransform::work() @ 0x000000003b5b5fba 2026.11.23 17:01:19.698226 [ 594 ] {} BaseDaemon: 17.0. inlined from ./ci/tmp/build/./src/Processors/Executors/ExecutionThreadContext.cpp:53: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) 2026.11.23 17:01:19.698276 [ 594 ] {} BaseDaemon: 17. ./ci/tmp/build/./src/Processors/Executors/ExecutionThreadContext.cpp:102: DB::ExecutionThreadContext::executeTask() @ 0x000000003b5ef50e 2026.11.23 17:01:19.715645 [ 594 ] {} BaseDaemon: 18. ./ci/tmp/build/./src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::executeStepImpl(unsigned long, DB::IAcquiredSlot*, std::atomic*) @ 0x000000003b5d31b8 2026.11.23 17:01:19.735389 [ 594 ] {} BaseDaemon: 19.0. inlined from ./ci/tmp/build/./src/Processors/Executors/PipelineExecutor.cpp:279: DB::PipelineExecutor::executeSingleThread(unsigned long, DB::IAcquiredSlot*) 2026.11.23 17:01:19.735441 [ 594 ] {} BaseDaemon: 19.1. inlined from ./ci/tmp/build/./src/Processors/Executors/PipelineExecutor.cpp:565: operator() 2026.11.23 17:01:19.735549 [ 594 ] {} BaseDaemon: 19.2. inlined from ./contrib/llvm-project/libcxx/include/__type_traits/invoke.h:149: decltype(std::declval)::$_0&>()()) std::__invoke[abi:ne190107])::$_0&>(DB::PipelineExecutor::spawnThreads(std::shared_ptr)::$_0&) 2026.11.23 17:01:19.735645 [ 594 ] {} BaseDaemon: 19.3. inlined from ./contrib/llvm-project/libcxx/include/__type_traits/invoke.h:224: void std::__invoke_void_return_wrapper::__call[abi:ne190107])::$_0&>(DB::PipelineExecutor::spawnThreads(std::shared_ptr)::$_0&) 2026.11.23 17:01:19.735810 [ 594 ] {} BaseDaemon: 19.4. inlined from ./contrib/llvm-project/libcxx/include/__functional/function.h:210: ? 2026.11.23 17:01:19.735943 [ 594 ] {} BaseDaemon: 19. ./contrib/llvm-project/libcxx/include/__functional/function.h:610: ? @ 0x000000003b5d5731 2026.11.23 17:01:19.749960 [ 594 ] {} BaseDaemon: 20.0. inlined from ./contrib/llvm-project/libcxx/include/__functional/function.h:716: ? 2026.11.23 17:01:19.750013 [ 594 ] {} BaseDaemon: 20.1. inlined from ./contrib/llvm-project/libcxx/include/__functional/function.h:989: ? 2026.11.23 17:01:19.750116 [ 594 ] {} BaseDaemon: 20. ./ci/tmp/build/./src/Common/ThreadPool.cpp:802: ThreadPoolImpl>::ThreadFromThreadPool::worker() @ 0x000000002920e359 2026.11.23 17:01:19.761520 [ 594 ] {} BaseDaemon: 21.0. inlined from ./contrib/llvm-project/libcxx/include/__type_traits/invoke.h:117: decltype(*std::declval>::ThreadFromThreadPool*&>().*std::declval>::ThreadFromThreadPool::*&)()>()()) std::__invoke[abi:ne190107]>::ThreadFromThreadPool::*&)(), ThreadPoolImpl>::ThreadFromThreadPool*&, void>(void (ThreadPoolImpl>::ThreadFromThreadPool::*&)(), ThreadPoolImpl>::ThreadFromThreadPool*&) 2026.11.23 17:01:19.761572 [ 594 ] {} BaseDaemon: 21.1. inlined from ./contrib/llvm-project/libcxx/include/tuple:1354: decltype(auto) std::__apply_tuple_impl[abi:ne190107]>::ThreadFromThreadPool::*&)(), std::tuple>::ThreadFromThreadPool*>&, 0ul>(void (ThreadPoolImpl>::ThreadFromThreadPool::*&)(), std::tuple>::ThreadFromThreadPool*>&, std::__tuple_indices<0ul>) 2026.11.23 17:01:19.761679 [ 594 ] {} BaseDaemon: 21.2. inlined from ./contrib/llvm-project/libcxx/include/tuple:1358: decltype(auto) std::apply[abi:ne190107]>::ThreadFromThreadPool::*&)(), std::tuple>::ThreadFromThreadPool*>&>(void (ThreadPoolImpl>::ThreadFromThreadPool::*&)(), std::tuple>::ThreadFromThreadPool*>&) 2026.11.23 17:01:19.762467 [ 594 ] {} BaseDaemon: 21. ./src/Common/ThreadPool.h:312: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::ThreadFromThreadPool::*)(), ThreadPoolImpl>::ThreadFromThreadPool*>(void (ThreadPoolImpl>::ThreadFromThreadPool::*&&)(), ThreadPoolImpl>::ThreadFromThreadPool*&&)::'lambda'()::operator()() @ 0x0000000029217348 2026.11.23 17:01:19.772920 [ 594 ] {} BaseDaemon: 22.0. inlined from ./contrib/llvm-project/libcxx/include/__functional/function.h:716: ? 2026.11.23 17:01:19.772962 [ 594 ] {} BaseDaemon: 22.1. inlined from ./contrib/llvm-project/libcxx/include/__functional/function.h:989: ? 2026.11.23 17:01:19.773038 [ 594 ] {} BaseDaemon: 22. ./ci/tmp/build/./src/Common/ThreadPool.cpp:812: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000002920b30f 2026.11.23 17:01:19.792731 [ 594 ] {} BaseDaemon: 23.0. inlined from ./contrib/llvm-project/libcxx/include/__type_traits/invoke.h:117: decltype(*std::declval::ThreadFromThreadPool*>().*std::declval::ThreadFromThreadPool::*)()>()()) std::__invoke[abi:ne190107]::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*, void>(void (ThreadPoolImpl::ThreadFromThreadPool::*&&)(), ThreadPoolImpl::ThreadFromThreadPool*&&) 2026.11.23 17:01:19.792797 [ 594 ] {} BaseDaemon: 23.1. inlined from ./contrib/llvm-project/libcxx/include/__thread/thread.h:192: void std::__thread_execute[abi:ne190107]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*, 2ul>(std::tuple>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>&, std::__tuple_indices<2ul>) 2026.11.23 17:01:19.792998 [ 594 ] {} BaseDaemon: 23. ./contrib/llvm-project/libcxx/include/__thread/thread.h:201: void* std::__thread_proxy[abi:ne190107]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000002921352a 2026.11.23 17:01:19.793617 [ 594 ] {} BaseDaemon: 24. start_thread @ 0x0000000000094ac3 2026.11.23 17:01:19.793919 [ 594 ] {} BaseDaemon: 25. clone3 @ 0x0000000000126850 2026.11.23 17:01:19.794147 [ 594 ] {} BaseDaemon: Integrity check of the executable skipped because the reference checksum could not be read. 2026.11.23 17:01:20.161738 [ 594 ] {} BaseDaemon: Changed settings: receive_timeout = 10., receive_data_timeout_ms = 10000, allow_suspicious_low_cardinality_types = true, allow_experimental_time_time64_type = true, group_by_use_nulls = true, log_queries = true, table_function_remote_max_addresses = 200, max_execution_time = 10., max_memory_usage = 10000000000, send_logs_level = 'fatal', allow_introspection_functions = true, allow_experimental_parallel_reading_from_replicas = 2, max_parallel_replicas = 3, cluster_for_parallel_replicas = 'test_cluster_one_shard_three_replicas_localhost', parallel_replicas_for_non_replicated_merge_tree = true, parallel_replicas_local_plan = true, parallel_replicas_only_with_analyzer = false, allow_experimental_analyzer = true, session_timezone = 'UTC'